Mistake corrected
This commit is contained in:
parent
84754dd54f
commit
813231449e
@ -80,7 +80,7 @@ def update_based_on_crontab(pCurrent_Time):
|
||||
current_time_ctime = time.ctime()
|
||||
ctime_split = str(current_time_ctime).split(' ')
|
||||
|
||||
if [0] == "Mon":
|
||||
if ctime_split[0] == "Mon":
|
||||
current_day = 0
|
||||
elif ctime_split[0] == "Tue":
|
||||
current_day = 1
|
||||
|
Loading…
Reference in New Issue
Block a user