mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Temporarily locked = suspended on twitter.
This commit is contained in:
parent
9f3cd66822
commit
7ecf37b8c3
1 changed files with 2 additions and 1 deletions
|
@ -362,7 +362,8 @@ class FetchFeed:
|
|||
social_services.disconnect_twitter()
|
||||
return
|
||||
except tweepy.TweepError, e:
|
||||
if e.args[2] == 63:
|
||||
if ((len(e.args) >= 2 and e.args[2] == 63) or
|
||||
('temporarily locked' in e.args[0])):
|
||||
# Suspended
|
||||
logging.debug(u' ***> [%-30s] ~FRTwitter failed, user suspended, disconnecting twitter: %s: %s' %
|
||||
(self.feed.title[:30], address, e))
|
||||
|
|
Loading…
Add table
Reference in a new issue