diff options
Diffstat (limited to '')
-rwxr-xr-x | index.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/index.py b/index.py deleted file mode 100755 index af0516b..0000000 --- a/index.py +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/python2 -# -*- coding: utf-8 -*- - -import sys - -from app import app, db - -try: - cmd = sys.argv[1] -except IndexError: - cmd = None - -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() |