mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Handling odd compressed stream error.
This commit is contained in:
parent
d703115372
commit
534e16fb84
2 changed files with 2 additions and 2 deletions
|
@ -469,7 +469,7 @@ class UserSubscription(models.Model):
|
|||
missing_count += len(missing_rs)
|
||||
new_count = len(new_rs)
|
||||
new_total = new_count + missing_count
|
||||
logging.user(user, "~FBTrimming ~FR%s~FB/%s (~SB%s sub'ed ~SN+ ~SB%s unsub'ed~SN saved) user read stories..." %
|
||||
logging.user(user, "~FBTrimming ~FR%s~FB/%s (~SB%s sub'ed ~SN+ ~SB%s unsub'ed~SN saved)" %
|
||||
(old_count - new_total, old_count, new_count, missing_count))
|
||||
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ class FetchFeed:
|
|||
agent=USER_AGENT,
|
||||
etag=etag,
|
||||
modified=modified)
|
||||
except (TypeError, ValueError, KeyError), e:
|
||||
except (TypeError, ValueError, KeyError, EOFError), e:
|
||||
logging.debug(u' ***> [%-30s] ~FR%s, turning off headers.' %
|
||||
(self.feed.title[:30], e))
|
||||
self.fpf = feedparser.parse(address, agent=USER_AGENT)
|
||||
|
|
Loading…
Add table
Reference in a new issue