From 70a4a31fea11d78a633d2afb41bcd3f29014f4f0 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 22 Jun 2019 10:40:18 -0700 Subject: [PATCH] Show filter item if active items exist but are filtered out --- inquisitor/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inquisitor/app.py b/inquisitor/app.py index bc2e554..5974796 100644 --- a/inquisitor/app.py +++ b/inquisitor/app.py @@ -80,7 +80,7 @@ def root(): } active_items = [read_ex] + active_items - if active_items: + if total > 0: # Create the feed control item wl_minus = [make_query_link("only - {}".format(tag), [t for t in wl if t != tag], bl) for tag in wl] wl_plus = [make_query_link("only + {}".format(tag), wl + [tag], bl) for tag in active_tags if tag not in wl]