1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-24 18:47:23 +00:00

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) 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: