comparison web/templog.wsgi @ 238:509a1be16456

gevent doesn't work well with subprocess
author Matt Johnston <matt@ucc.asn.au>
date Sun, 10 May 2015 21:13:49 +0800
parents abc837a7e60f
children c490de0cf17e
comparison
equal deleted inserted replaced
237:abc837a7e60f 238:509a1be16456
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__)