From 978f1a4999937a56bd3861a219bb2d9082ba5de6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 11 Apr 2013 21:47:56 +0200 Subject: 404 page in jinja --- index.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'index.py') diff --git a/index.py b/index.py index c3ad9fa..1426022 100755 --- a/index.py +++ b/index.py @@ -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() -- cgit v1.2.3