From 8c1b7ba8b68924197e5e557c3906bac379f568d2 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Thu, 26 Sep 2024 19:56:06 -0400 Subject: [PATCH] fixing new commit system --- commit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit.py b/commit.py index 8ecf4ff..878743e 100755 --- a/commit.py +++ b/commit.py @@ -27,7 +27,7 @@ if sys.platform.startswith("win"): CONFIG_FILE_LOCATION = os.getenv('APPDATA') + "\BLT\commit_config.env" else: XDG_CONFIG_HOME = Path(os.environ.get('XDG_CONFIG_HOME')) - if len(XDG_CONFIG_HOME) == 0: + if len(str(XDG_CONFIG_HOME)) == 0: XDG_CONFIG_HOME = USER_HOME CONFIG_FILE_LOCATION = XDG_CONFIG_HOME / "blt" / "commit_config.env"