diff --git a/Website/__init__.py b/Website/__init__.py index 45b4abb..43666a8 100644 --- a/Website/__init__.py +++ b/Website/__init__.py @@ -301,6 +301,8 @@ def create_app(test_config=None): @app.route("/api/tag_id", methods=['POST']) def get_id(): + db = get_db() + c = db.curosor() global finished global message try: