mirror of
https://github.com/andrewferrier/email2pdf.git
synced 2025-03-18 14:03:00 +00:00
Fix blacklist behaviour - delete URLs in blacklist.
This commit is contained in:
parent
0d65970ed3
commit
916e5f5661
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ def remove_invalid_urls(payload):
|
|||
logger.warning("Could not retrieve img URL " + src + ", replacing with blank.")
|
||||
del img['src']
|
||||
else:
|
||||
logger.debug("Ignoring URL in blacklist " + src)
|
||||
logger.debug("Removing URL that was found in blacklist " + src)
|
||||
del img['src']
|
||||
else:
|
||||
logger.debug("Ignoring URL " + src)
|
||||
|
||||
|
|
Loading…
Reference in a new issue