diff options
Diffstat (limited to 'index.py')
-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() |