mirror of
https://github.com/kemayo/leech
synced 2025-12-25 01:35:38 +01:00
When downloading covers errors don't incorrectly concat a string
Refs #77
This commit is contained in:
parent
29589a0886
commit
7eae5dee07
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ def make_cover_from_url(url, title, author):
|
|||
if imgformat != "PNG":
|
||||
cover = _convert_to_png(cover)
|
||||
except Exception as e:
|
||||
logger.info("Encountered an error downloading cover: " + e)
|
||||
logger.info("Encountered an error downloading cover: " + str(e))
|
||||
cover = make_cover(title, author)
|
||||
|
||||
return cover
|
||||
|
|
|
|||
Loading…
Reference in a new issue