From df45012c21e228dd946d949ed23cd4035548495a Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Tue, 17 Dec 2019 12:10:18 -0800 Subject: [PATCH] Whitespace --- inquisitor/app.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inquisitor/app.py b/inquisitor/app.py index 7ebf5fb..4bd5a07 100644 --- a/inquisitor/app.py +++ b/inquisitor/app.py @@ -44,14 +44,14 @@ def root(): active_items = [] active_tags = {} for item in items: - if item['active']: + if item['active']: for tag in item['tags']: if tag not in active_tags: active_tags[tag] = 0 active_tags[tag] += 1 # active_tags |= set(item['tags']) - total += 1 - if not any(map(lambda f: f(item), filters)): - active_items.append(item) + total += 1 + if not any(map(lambda f: f(item), filters)): + active_items.append(item) # Sort items by time active_items.sort(key=lambda i: i['time'] if 'time' in i and i['time'] else 0)