[connect5] Fix set system time for some cases

pull/24/head
remittor 1 year ago
parent b1e2c7bf43
commit 628fdc4b54

@ -274,6 +274,9 @@ else:
# get device orig system time
dst = get_dev_systime()
if 'timezone' in dst:
if "'" in dst['timezone'] or ";" in dst['timezone']:
dst['timezone'] = "GMT0"
print('Enable smartcontroller scene executor ...')
# echo "OK" > /tmp/ntp.status

Loading…
Cancel
Save