summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xindex.py4
1 files changed, 4 insertions, 0 deletions
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()