mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-09 05:21:13 +02:00
Warn, not crash on when cover_min_size fails.
This commit is contained in:
parent
16049cc09b
commit
9a25c9d6f7
1 changed files with 1 additions and 1 deletions
|
|
@ -1300,7 +1300,7 @@ class Story(Configurable):
|
|||
cover_big_enough = owidth >= sizes[0] and oheight >= sizes[1]
|
||||
# logger.debug("cover_big_enough:%s %s>=%s, %s>=%s"%(cover_big_enough,owidth,sizes[0],oheight,sizes[1]))
|
||||
except Exception as e:
|
||||
raise exceptions.FailedToDownload("Failed to process cover_min_size from personal.ini:%s\nException: %s"%(self.getConfigList('cover_min_size'),e))
|
||||
logger.warning("Failed to process cover_min_size from personal.ini:%s\nException: %s"%(self.getConfigList('cover_min_size'),e))
|
||||
|
||||
# explicit cover, make the first image.
|
||||
if cover and cover_big_enough:
|
||||
|
|
|
|||
Loading…
Reference in a new issue