Mercurial > templog
comparison web/templog.wsgi @ 293:d15dda1b1f76
merge
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 06 Jul 2019 18:29:45 +0800 |
parents | 141948a400a6 |
children |
comparison
equal
deleted
inserted
replaced
292:28eb733cb803 | 293:d15dda1b1f76 |
---|---|
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) |