Fix logging error on windows with invalid goodreads key/secret

This commit is contained in:
Ozzie Isaacs 2020-10-14 20:48:01 +02:00
parent 7fb18bbdc7
commit e8620a0986

View File

@ -72,7 +72,7 @@ def get_author_info(author_name):
author_info = _client.find_author(author_name=author_name)
except Exception as ex:
# 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
if author_info: