Skip feed control when feed is empty

This commit is contained in:
Tim Van Baak 2019-06-19 18:59:02 -07:00
parent d62c3a9001
commit 22008ea47b
1 changed files with 13 additions and 12 deletions

View File

@ -80,6 +80,7 @@ def root():
}
active_items = [read_ex] + active_items
if active_items:
# 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]