diff --git a/__init__.py b/__init__.py index a0eb807..2bc514c 100644 --- a/__init__.py +++ b/__init__.py @@ -5,12 +5,11 @@ import os import hashlib -app = Flask(__name__, static_folder='static', template_folder='templates') -app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///data.db' - - if not os.path.exists('./data.db'): db_routing.db.create_all() + +app = Flask('Jarvis', static_folder='static', template_folder='templates') +app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///data.db' auth = HTTPBasicAuth()