fix for building python 3 windows binaries

This commit is contained in:
Nico Zanferrari
2019-03-03 22:26:46 +01:00
committed by GitHub
parent a828cb2124
commit c1e5571de8
+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):