mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Fixing facebook page fetcher bug.
This commit is contained in:
parent
87e1cca9c2
commit
43cd105b80
1 changed files with 4 additions and 0 deletions
|
@ -205,6 +205,10 @@ class FacebookFetcher:
|
|||
def favicon_url(self):
|
||||
page_name = self.extract_page_name()
|
||||
facebook_user = self.facebook_user()
|
||||
if not facebook_user:
|
||||
logging.debug(u' ***> [%-30s] ~FRFacebook icon failed, disconnecting facebook: %s' %
|
||||
(self.feed.log_title[:30], self.feed.feed_address))
|
||||
return
|
||||
|
||||
try:
|
||||
picture_data = facebook_user.get_object(page_name, fields='picture')
|
||||
|
|
Loading…
Add table
Reference in a new issue