Skip to content

Commit

Permalink
fixup! Using platform dirs to execute installed fluster.
Browse files Browse the repository at this point in the history
  • Loading branch information
rgonzalezfluendo committed Nov 15, 2023
1 parent 13e2d4b commit 720b1a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fluster/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 720b1a5

Please sign in to comment.