Skip to content

Commit

Permalink
bugfix issue 629, ensure AIRSENAL_HOME is always a Path
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarlowATI committed Sep 8, 2023
1 parent c4ccdc1 commit 70dbb4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airsenal/framework/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

# Cross-platform data directory
if "AIRSENAL_HOME" in os.environ.keys():
AIRSENAL_HOME = os.environ["AIRSENAL_HOME"]
AIRSENAL_HOME = Path(os.environ["AIRSENAL_HOME"])
else:
AIRSENAL_HOME = Path(user_data_dir("airsenal"))
os.makedirs(AIRSENAL_HOME, exist_ok=True)
Expand Down

0 comments on commit 70dbb4f

Please sign in to comment.