Add weird fix to MQTT module

This commit is contained in:
Jan Tuomi
2017-09-19 00:05:58 +03:00
parent d4d63ac99d
commit a63504619a
+2
View File
@@ -4,6 +4,8 @@ from django.http import JsonResponse
import datetime
from .mqtt import get_latest
import coffee_scale.mqtt # somehow this is needed
def get_cups_from_weight(weight):
if not weight: