From 88d2f12b1f2015894224ed7f8f4d3a10c1fa514e Mon Sep 17 00:00:00 2001 From: vladmandic Date: Thu, 26 Mar 2026 08:09:49 +0100 Subject: [PATCH] lint Signed-off-by: vladmandic --- scripts/system-info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/system-info.py b/scripts/system-info.py index 25dbd39..3ad6b6a 100644 --- a/scripts/system-info.py +++ b/scripts/system-info.py @@ -246,7 +246,7 @@ def get_libs(): } -def run_git_command(cmd_args: list, cwd: str = None): +def run_git_command(cmd_args: list, cwd: str | None = None): try: res = subprocess.run(cmd_args, capture_output=True, cwd = cwd, check=True) return res.stdout.decode(encoding = 'utf8', errors='ignore').strip() if len(res.stdout) > 0 else ''