From 58ed636ce31ab0db005d7f9498f6793260712124 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Thu, 4 Sep 2025 21:29:05 +1000 Subject: [PATCH] fix: Use git --version instead of short -v to allow for backwards compatability The default git installed in ubuntu doesn't allow -v --- account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account.py b/account.py index 05b67a9..a8d2dee 100644 --- a/account.py +++ b/account.py @@ -1804,7 +1804,7 @@ def checkPreRequisites() -> dict[str, bool]: try: # Check if git is installed - gitSubprocess = subprocess.run(["git", "-v"], capture_output=True, text=True,timeout=2) + gitSubprocess = subprocess.run(["git", "--version"], capture_output=True, text=True,timeout=2) if gitSubprocess.returncode == 0: prerequisites["git"] = True except Exception: