init
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user