From e833d7889112d51852ba2c4b6ad804ecc3e0b9d2 Mon Sep 17 00:00:00 2001 From: Torma Date: Wed, 14 Oct 2020 20:43:36 +0200 Subject: [PATCH] damn son, that's a circular dependency --- src/mqtt_methods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt_methods.py b/src/mqtt_methods.py index 9433b73..5ce017d 100644 --- a/src/mqtt_methods.py +++ b/src/mqtt_methods.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -from app import app +from flask import current_app as app import config from db import db from schemas import DeviceSchema, SensorSchema