Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
o-smirnov committed Jul 15, 2020
1 parent 4bf8c7e commit d268f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pyxis/Internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def initconf (force=False,files=[],directory="."):
if Pyxis.Context.get("PYXIS_AUTO_IMPORT_MODULES",True) and toplevel:
_verbose(1,"importing top-level modules (%s) for you. Preset PYXIS_AUTO_IMPORT_MODULES=False to disable."%", ".join(toplevel));
for mod in toplevel:
Pyxis.Context[mod] = sys.modules.get(mod,sys.modules.get("Pyxides."+m));
Pyxis.Context[mod] = sys.modules.get(mod, sys.modules.get("Pyxides."+mod));

def loadconf (filename,frame=None,chdir=True):
"""Loads config file""";
Expand Down

0 comments on commit d268f99

Please sign in to comment.