This commit is contained in:
dsyoon
2021-10-13 00:35:35 +09:00
parent d9b7f1b4fd
commit 2a27dc1f70

View File

@@ -1011,7 +1011,7 @@ class HTS:
second = datetime.now().strftime('%Y%m%d %H%M%S') second = datetime.now().strftime('%Y%m%d %H%M%S')
if datetime.strptime(given_day + " 085900", '%Y%m%d %H%M%S') < datetime.now() < datetime.strptime(given_day + " 151500", '%Y%m%d %H%M%S'): if datetime.strptime(given_day + " 090100", '%Y%m%d %H%M%S') < datetime.now() < datetime.strptime(given_day + " 151500", '%Y%m%d %H%M%S'):
if second in timecheck and not timecheck[second]: if second in timecheck and not timecheck[second]:
print("TIMECHECK", second) print("TIMECHECK", second)
logFp.write("%s,%s,\n" %("TIMECHECK", second)) logFp.write("%s,%s,\n" %("TIMECHECK", second))