mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +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:
|
||||
if item['wake_up_time'].endswith('?'):
|
||||
item['no_wake_up_before_first_use'] = True
|
||||
elif item['wake_up_time'] == '-':
|
||||
item['no_wake_up_before_first_use'] = None
|
||||
else:
|
||||
item['no_wake_up_before_first_use'] = False
|
||||
|
||||
|
Reference in New Issue
Block a user