Skip to content

Commit

Permalink
Unbounded warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Nov 15, 2024
1 parent 717cf06 commit 5ed4950
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aiida/manage/configuration/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def get_configuration_directory_from_envvar() -> pathlib.Path | None:
if environment_variable is None:
return None

dirpath_config = None

# Loop over all the paths in the ``AIIDA_PATH`` variable to see if any of them contain a configuration folder
for base_dir_path in [path for path in environment_variable.split(':') if path]:
dirpath_config = pathlib.Path(base_dir_path).expanduser()
Expand Down

0 comments on commit 5ed4950

Please sign in to comment.