forked from tanner/qotnews
Fix crash when HN feed fails
This commit is contained in:
parent
9c116bde4a
commit
0bd9f05250
|
@ -30,7 +30,7 @@ def api(route, ref=None):
|
|||
return False
|
||||
|
||||
def feed():
|
||||
return [str(x) for x in api(API_TOPSTORIES)] or []
|
||||
return [str(x) for x in api(API_TOPSTORIES) or []]
|
||||
|
||||
def comment(i):
|
||||
if 'author' not in i:
|
||||
|
|
Loading…
Reference in New Issue
Block a user