Update Xiaomi_Scale.py

This commit is contained in:
lolouk44 2020-07-06 14:28:57 +01:00
parent 7d3d2f54ec
commit e027b8dace

View File

@ -36,7 +36,7 @@ try:
try: try:
MQTT_USERNAME = data["MQTT_USERNAME"] MQTT_USERNAME = data["MQTT_USERNAME"]
except: except:
MQTT_USERNAME = None MQTT_USERNAME = "username"
pass pass
try: try:
MQTT_PASSWORD = data["MQTT_PASSWORD"] MQTT_PASSWORD = data["MQTT_PASSWORD"]