Mercurial > templog
comparison web/templog.wsgi @ 539:b78961d2e3a3
gevent seems to work
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 06 May 2015 19:40:37 +0800 |
parents | 910324f14fe4 |
children | 509a1be16456 |
comparison
equal
deleted
inserted
replaced
538:a57f1932f05a | 539:b78961d2e3a3 |
---|---|
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) |