Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #4 from fabiant7t/master

sys.path problem (problem with long running app engine instances)
  • Loading branch information...
commit e1ae5c0a16e6ee8a4cfd261655c1791a2d89cf36 2 parents 2541cdb + 59a0fe8
Nikolaus Graf authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 gae/boot.py
View
4 gae/boot.py
@@ -3,7 +3,9 @@
import sys, os
root_dir = os.path.dirname(os.path.abspath(__file__))
-sys.path.insert(0, os.path.join(root_dir, 'lib'))
+lib_dir = os.path.join(root_dir, 'lib')
+if lib_dir not in sys.path:
+ sys.path.insert(0, lib_dir)
from main import app
Please sign in to comment.
Something went wrong with that request. Please try again.