From 55c6630d15b4c73b52ce8d9ed1051e2e25593524 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 22 Jun 2019 10:01:50 -0700 Subject: [PATCH] Recreate dungeon in deac handler --- inquisitor/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inquisitor/app.py b/inquisitor/app.py index 492aa31..bc2e554 100644 --- a/inquisitor/app.py +++ b/inquisitor/app.py @@ -100,6 +100,7 @@ def root(): @app.route("/deactivate/", methods=['POST']) def deactivate(): + dungeon = dungeonlib.Dungeon("dungeon") params = request.get_json() if 'source' not in params and 'itemid' not in params: logger.error("Bad request params: {}".format(params))