fix
This commit is contained in:
parent
b5ed9807b8
commit
e113d86a71
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -122,7 +122,7 @@ while True:
|
|||
if check_daylight_saving(current_time):
|
||||
current_time = time.localtime(time.mktime(current_time) + config.TIMEZONE_OFFSET_DAYLIGHT)
|
||||
else:
|
||||
current_time = time.localtime(time.mktime(current_time) + config.TIMEZONE_OFFSET)#
|
||||
current_time = time.localtime(time.mktime(current_time) + config.TIMEZONE_OFFSET)
|
||||
|
||||
# Call MQTT
|
||||
mqtt_client.check_msg()
|
||||
|
|
Loading…
Reference in a new issue