Commit 6479a04d authored by Garrett Regier's avatar Garrett Regier

Fix Python plugin loader module paths

Popping the first item from the module paths
was only required when PySys_SetArgv() was used.
parent ede1902b
......@@ -41,11 +41,9 @@ class Hooks(object):
if int_handler == signal.default_int_handler:
signal.signal(signal.SIGINT, signal.SIG_DFL)
# See PySys_SetArgvEx()
sys.argv = [PRGNAME]
sys.path.insert(0, PEAS_PYEXECDIR)
self.__module_cache = {}
Markdown is supported
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