Update database_caller.py

This commit is contained in:
Justin 2023-04-21 16:56:53 +08:00 committed by GitHub
parent 51e8070e2f
commit 83016813d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1268,6 +1268,7 @@ if __name__ == '__main__':
try:
f = open('csv/scheduler.json','r')
schedules = json.load(f)
f.close()
shutdown_schedule = schedules['shutdown']['time']
reboot_schedule = schedules['reboot']['time']
timezone = schedules['timezone']