mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
fix no_wake_up_before_first_use to allow None
This commit is contained in:
@ -77,6 +77,8 @@ def _process(proc_data: List[Dict]) -> List[Dict]:
|
|||||||
for item in proc_data:
|
for item in proc_data:
|
||||||
if item['wake_up_time'].endswith('?'):
|
if item['wake_up_time'].endswith('?'):
|
||||||
item['no_wake_up_before_first_use'] = True
|
item['no_wake_up_before_first_use'] = True
|
||||||
|
elif item['wake_up_time'] == '-':
|
||||||
|
item['no_wake_up_before_first_use'] = None
|
||||||
else:
|
else:
|
||||||
item['no_wake_up_before_first_use'] = False
|
item['no_wake_up_before_first_use'] = False
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user