1
0
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:
Kelly Brazil
2021-04-06 11:23:09 -07:00
parent e0d430c26c
commit 3a44785260

View File

@ -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