Skip to content

Commit

Permalink
Fix path concatenation in get_data_dir function
Browse files Browse the repository at this point in the history
  • Loading branch information
wkerzendorf committed Nov 27, 2023
1 parent 0e8696d commit 91b0d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tardis/io/configuration/config_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_data_dir():
config = get_internal_configuration()
data_dir = config.get("data_dir", None)
if data_dir is None:
config_fpath = get_config_dir() / "tardis_internal_config.yml"
config_fpath = Path(get_config_dir()) / "tardis_internal_config.yml"
logging.critical(
f"\n{'*' * 80}\n\nTARDIS will download different kinds of data (e.g. atomic) to its data directory {DEFAULT_DATA_DIR}\n\n"
f"TARDIS DATA DIRECTORY not specified in {config_fpath}:\n\n"
Expand Down

0 comments on commit 91b0d54

Please sign in to comment.