Mercurial > templog
comparison web/templog.py @ 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 | c90190a380c6 |
comparison
equal
deleted
inserted
replaced
237:abc837a7e60f | 238:509a1be16456 |
---|---|
27 def run(*args, **argm): | 27 def run(*args, **argm): |
28 argm['server'] = 'gevent' | 28 argm['server'] = 'gevent' |
29 super(TemplogBottle, self).run(*args, **argm) | 29 super(TemplogBottle, self).run(*args, **argm) |
30 print "ran custom bottle" | 30 print "ran custom bottle" |
31 | 31 |
32 bottle.default_app.push(TemplogBottle()) | 32 #bottle.default_app.push(TemplogBottle()) |
33 | 33 |
34 secure.setup_csrf() | 34 secure.setup_csrf() |
35 | 35 |
36 @route('/update', method='post') | 36 @route('/update', method='post') |
37 def update(): | 37 def update(): |