Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
javierggt committed Mar 29, 2024
1 parent af7000c commit d4221c9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion skare3_tools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,11 @@ def _app_data_dir_():
app_data_dir = os.environ["SKARE3_TOOLS_DATA"]
elif (
"SKA" in os.environ
and (ska_data_dir := os.path.join(os.environ["SKA"], "data", "skare3", "skare3_data"))
and (
ska_data_dir := os.path.join(
os.environ["SKA"], "data", "skare3", "skare3_data"
)
)
and os.path.exists(ska_data_dir)
):
app_data_dir = ska_data_dir
Expand Down

0 comments on commit d4221c9

Please sign in to comment.