From 720b1a5a4a5d6b4d0a93c2b802abf191e34ad540 Mon Sep 17 00:00:00 2001 From: Ruben Gonzalez Date: Wed, 15 Nov 2023 19:24:57 +0100 Subject: [PATCH] fixup! Using platform dirs to execute installed fluster. --- fluster/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluster/main.py b/fluster/main.py index a555dac..a745e64 100644 --- a/fluster/main.py +++ b/fluster/main.py @@ -56,10 +56,10 @@ def __init__(self) -> None: ) self.results_dir = os.path.join(gettempdir(), RESULTS_DIR) - is_uninstalled = os.path.exists( + is_installed = os.path.exists( os.path.join(os.path.dirname(__file__), "..", ".git") ) - if not is_uninstalled: + if is_installed: appname = "fluster" site_data_dir = platformdirs.site_data_dir(appname) user_data_dir = platformdirs.user_data_dir(appname)