Fix logging error on windows with invalid goodreads key/secret

pull/1659/head
Ozzie Isaacs 4 years ago
parent 7fb18bbdc7
commit e8620a0986

@ -72,7 +72,7 @@ def get_author_info(author_name):
author_info = _client.find_author(author_name=author_name) author_info = _client.find_author(author_name=author_name)
except Exception as ex: except Exception as ex:
# Skip goodreads, if site is down/inaccessible # Skip goodreads, if site is down/inaccessible
log.warning('Goodreads website is down/inaccessible? %s', ex) log.warning('Goodreads website is down/inaccessible? %s', ex.__str__())
return return
if author_info: if author_info:

Loading…
Cancel
Save