Commit 3914ec8e authored by Benoit Formet's avatar Benoit Formet
Browse files

load_script: __DEFAULT__ session raise exception

parent 4aa30e91
Pipeline #23918 passed with stages
in 44 minutes and 41 seconds
......@@ -418,6 +418,8 @@ class Session:
self.env_dict[k] = globals_dict[k]
finally:
sys.meta_path.remove(importer)
else:
raise RuntimeError(f"{session.name} session has no script module path")
def _get_user_script_home(self):
return self.__user_script_homedir.get()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment