diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-11 21:47:56 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2013-04-11 21:47:56 +0200 |
commit | 978f1a4999937a56bd3861a219bb2d9082ba5de6 (patch) | |
tree | 69a55977f09000e1c867a2c253c7018050951e72 /index.py | |
parent | 0567318344330295512176569a84afc9748d79c5 (diff) | |
download | kosten-978f1a4999937a56bd3861a219bb2d9082ba5de6.tar.gz kosten-978f1a4999937a56bd3861a219bb2d9082ba5de6.tar.bz2 kosten-978f1a4999937a56bd3861a219bb2d9082ba5de6.zip |
404 page in jinja
Diffstat (limited to '')
-rwxr-xr-x | index.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,4 +1,6 @@ #!/usr/bin/python +# -*- coding: utf-8 -*- + import sys from app import app, db @@ -12,5 +14,7 @@ if cmd == "create": db.create_all() elif cmd == "drop": db.drop_all() +elif cmd == "compile": + app.jinja_env.compile_templates("comp", zip = None) else: app.run() |