Add path parent option to module path and default to using local path

This commit is contained in:
Labrys of Knossos 2018-12-19 19:09:48 -05:00
commit 339d2878b4
2 changed files with 5 additions and 4 deletions

View file

@ -23,7 +23,7 @@ except ImportError:
if sys.platform == 'win32':
sys.ext('Please install pywin32')
APP_ROOT = libs.util.module_path()
APP_ROOT = libs.util.module_path(parent=True)
# init preliminaries
SYS_ARGV = sys.argv[1:]