Accommodate PEP8

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2019-12-28 18:31:20 +01:00
parent 6c601cfeb8
commit d746b422bf

View file

@ -6,7 +6,7 @@ import json
# Skip the configuration settings.
for line in sys.stdin:
if line == '\n':
break;
break
# Extract the JSON.
doc = ''
@ -18,7 +18,7 @@ total_active_time = 0
j = json.loads(doc)
for object in j:
line = '"%s",' % object['start']
line +='"%s"' % (object['end'] if 'end' in object else '')
line += '"%s"' % (object['end'] if 'end' in object else '')
if 'tags' in object:
for tag in object['tags']: