1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-17 16:47:39 +00:00
Fix missing maim.py file in update pypi package
Bugfix after last testrun
This commit is contained in:
Ozzie Isaacs
2022-05-01 10:25:07 +02:00
parent 813d303ea7
commit 12f3a13d1d
3 changed files with 203 additions and 199 deletions

View File

@@ -804,8 +804,8 @@ def save_cover_from_url(url, book_path):
elif use_advocate:
img = advocate.get(url, timeout=(10, 200), allow_redirects=False) # ToDo: Error Handling
else:
log.error("python modul advocate is not installed but is needed")
return False, _("Python modul 'advocate' is not installed but is needed for cover downloads")
log.error("python module advocate is not installed but is needed")
return False, _("Python module 'advocate' is not installed but is needed for cover downloads")
img.raise_for_status()
return save_cover(img, book_path)
except (socket.gaierror,