fix mistake.

This commit is contained in:
Jason Schwarzenberger 2020-11-17 12:54:54 +13:00
parent b771b52501
commit 5668fa5dbc

View File

@ -43,7 +43,7 @@ def get_list():
for key, publication in substacks.items(): for key, publication in substacks.items():
count = settings.SUBSTACK[key]['count'] count = settings.SUBSTACK[key]['count']
feeds[key] = [(x, key, u) for x, u in publication.feed()[:count]] feeds[key] = [(x, key, x) for x in publication.feed()[:count]]
for key, sites in categories.items(): for key, sites in categories.items():
count = settings.CATEGORY[key].get('count') or 0 count = settings.CATEGORY[key].get('count') or 0