Continue Flask migration.
This commit is contained in:
parent
69c791e7ca
commit
a7bde80346
@ -221,7 +221,8 @@ while True:
|
||||
current_date = datetime.datetime.now()
|
||||
today_awake_time = current_date.replace(hour=int(awake_hour.split(':')[0]), minute=int(awake_hour.split(':')[1]), second=0, microsecond=0)
|
||||
today_sleep_time = current_date.replace(hour=int(sleep_hour.split(':')[0]), minute=int(sleep_hour.split(':')[1]), second=0, microsecond=0)
|
||||
forced_mode = get_forced_mode()
|
||||
#forced_mode = get_forced_mode()
|
||||
forced_mode = None
|
||||
if forced_mode is not None and forced_mode in targets:
|
||||
if target_name != forced_mode:
|
||||
target_name = forced_mode
|
||||
|
Loading…
Reference in New Issue
Block a user