From e8620a09869214ee48d8b5817adf111b3bdfd02e Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Wed, 14 Oct 2020 20:48:01 +0200 Subject: [PATCH] Fix logging error on windows with invalid goodreads key/secret --- cps/services/goodreads_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/services/goodreads_support.py b/cps/services/goodreads_support.py index 58255f3c..9312bc0f 100644 --- a/cps/services/goodreads_support.py +++ b/cps/services/goodreads_support.py @@ -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: