We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d13472 commit e3c3901Copy full SHA for e3c3901
traitlets/config/application.py
@@ -973,8 +973,7 @@ def load_config_file(
973
@catch_config_error
974
def load_config_environ(self) -> None:
975
"""Load config files by environment."""
976
-
977
- PREFIX = self.name.upper()
+ PREFIX = self.name.upper().replace("-", "_")
978
new_config = Config()
979
980
self.log.debug('Looping through config variables with prefix "%s"', PREFIX)
0 commit comments