From 83016813d1a866283ba23be89a1553392648d775 Mon Sep 17 00:00:00 2001 From: Justin Date: Fri, 21 Apr 2023 16:56:53 +0800 Subject: [PATCH] Update database_caller.py --- database_caller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/database_caller.py b/database_caller.py index b38a0b0..a5c40eb 100755 --- a/database_caller.py +++ b/database_caller.py @@ -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']