1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-18 00:57:39 +00:00

Bugfix logging with gdrive

Update optional-requirements.txt
This commit is contained in:
Ozzie Isaacs
2022-03-28 19:02:12 +02:00
parent 036cd7be48
commit 73d359af05
4 changed files with 20 additions and 19 deletions

View File

@@ -708,7 +708,7 @@ def get_book_cover_internal(book, use_generic_cover_on_failure):
if path:
return redirect(path)
else:
log.error('%s/cover.jpg not found on Google Drive', book.path)
log.error('{}/cover.jpg not found on Google Drive'.format(book.path))
return get_cover_on_failure(use_generic_cover_on_failure)
except Exception as ex:
log.error_or_exception(ex)