Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/my/core/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def setup_config() -> None:
used_config_path = Path(used_config_file)
try:
# will crash if it's imported from other dir?
used_config_path.relative_to(mycfg_dir)
used_config_path.resolve().relative_to(mycfg_dir.resolve())
except ValueError:
# TODO maybe implement a strict mode where these warnings will be errors?
warnings.warn(
Expand Down