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

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']