Mercurial > templog
comparison web/templog.wsgi @ 237:abc837a7e60f
gevent seems to work
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 May 2015 19:40:37 +0800 |
parents | 7f3fc0980df1 |
children | 509a1be16456 |
comparison
equal
deleted
inserted
replaced
236:88dfac30d065 | 237:abc837a7e60f |
---|---|
1 from gevent import monkey; monkey.patch_all() | |
2 | |
1 import os | 3 import os |
2 import sys | 4 import sys |
3 # Change working directory so relative paths (and template lookup) work again | 5 # Change working directory so relative paths (and template lookup) work again |
4 thisdir = os.path.dirname(__file__) | 6 thisdir = os.path.dirname(__file__) |
5 os.chdir(thisdir) | 7 os.chdir(thisdir) |