comparison web/templog.wsgi @ 540:0f665a84b581

gevent doesn't work well with subprocess
author Matt Johnston <matt@ucc.asn.au>
date Sun, 10 May 2015 21:13:49 +0800
parents b78961d2e3a3
children c490de0cf17e
comparison
equal deleted inserted replaced
539:b78961d2e3a3 540:0f665a84b581
1 from gevent import monkey; monkey.patch_all() 1 #from gevent import monkey; monkey.patch_all()
2 2
3 import os 3 import os
4 import sys 4 import sys
5 # Change working directory so relative paths (and template lookup) work again 5 # Change working directory so relative paths (and template lookup) work again
6 thisdir = os.path.dirname(__file__) 6 thisdir = os.path.dirname(__file__)