Skip to content

Commit

Permalink
time_interval fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lolouk44 committed May 21, 2020
1 parent a70c202 commit d184d59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Xiaomi_Scale.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
MQTT_PORT = int(os.getenv('MQTT_PORT', 1883))
MQTT_TIMEOUT = int(os.getenv('MQTT_TIMEOUT', 60))
MQTT_PREFIX = os.getenv('MQTT_PREFIX', 'miscale')
TIME_INTERVAL = os.getenv('TIME_INTERVAL, '30')
TIME_INTERVAL = int(os.getenv('TIME_INTERVAL, '30'))
OLD_MEASURE = ''

# User Variables...
Expand Down

0 comments on commit d184d59

Please sign in to comment.