Skip to content

Commit ae4a5ea

Browse files
committed
Fix loading config files
1 parent 0644809 commit ae4a5ea

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

traitlets/config/application.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,8 @@ def _load_config_files(
899899
900900
yield each config object in turn.
901901
"""
902+
if os.path.isabs(basefilename):
903+
path = None
902904
if isinstance(path, str) or path is None:
903905
path = [path]
904906
for current in reversed(path):

0 commit comments

Comments
 (0)