aboutsummaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
Diffstat (limited to 'src/web')
-rw-r--r--src/web/crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/crawler.py b/src/web/crawler.py
index ad27fd4b..22e73754 100644
--- a/src/web/crawler.py
+++ b/src/web/crawler.py
@@ -87,7 +87,7 @@ async def parse_feed(user, feed):
FeedController().update({'id': feed.id}, up_feed)
return
- if parsed_feed['bozo'] == 1:
+ if parsed_feed['bozo'] == 1 and parsed_feed['entries'] == []:
up_feed['last_error'] = str(parsed_feed['bozo_exception'])
up_feed['error_count'] = feed.error_count + 1
FeedController().update({'id': feed.id}, up_feed)
bgstack15