mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-17 01:32:37 +02:00
del details key if details are blank
This commit is contained in:
@ -148,6 +148,10 @@ def process(proc_data):
|
||||
(entry['idle_hours'] * 60) + \
|
||||
entry['idle_minutes']
|
||||
|
||||
if 'details' in entry:
|
||||
if not entry['details']:
|
||||
del entry['details']
|
||||
|
||||
return proc_data
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user