1
0
Fork 0
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:
David Lynch 2022-02-22 12:24:50 -06:00
parent 29589a0886
commit 7eae5dee07

View file

@ -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