mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-04-27 09:22:34 +02:00
Fix for previously failedtoload img tags causing lookup sleeps.
This commit is contained in:
parent
60439cc658
commit
2c1b9456bf
1 changed files with 3 additions and 0 deletions
|
|
@ -1069,6 +1069,9 @@ class Story(Configurable):
|
|||
if imgurl not in self.imgurls:
|
||||
|
||||
try:
|
||||
if imgurl == 'failedtoload':
|
||||
raise Exception("Previously failed to load")
|
||||
|
||||
parsedUrl = urlparse.urlparse(imgurl)
|
||||
if self.getConfig('no_image_processing'):
|
||||
(data,ext,mime) = no_convert_image(imgurl,
|
||||
|
|
|
|||
Loading…
Reference in a new issue