Merge pull request #2125 from nicozanf/master

fix for building python 3 windows binaries
This commit is contained in:
mdipierro
2019-03-03 15:03:59 -08:00
committed by GitHub
+2 -1
View File
@@ -436,7 +436,8 @@ def add_path_first(path):
sys.path = [path] + [p for p in sys.path if (
not p == path and not p == (path + '/'))]
if not global_settings.web2py_runtime_gae:
site.addsitedir(path)
if not path in sys.path:
site.addsitedir(path)
def try_mkdir(path):