Fix brackets
This commit is contained in:
@@ -330,7 +330,7 @@ class EMailNotification(BaseNotification):
|
|||||||
image_replaced = False
|
image_replaced = False
|
||||||
if self.strip_images:
|
if self.strip_images:
|
||||||
self.logger.debug(
|
self.logger.debug(
|
||||||
"{}: looking for images to strip".format(queueid)
|
"{}: looking for images to strip".format(queueid))
|
||||||
for element in soup("img"):
|
for element in soup("img"):
|
||||||
if "src" in element.attrs.keys():
|
if "src" in element.attrs.keys():
|
||||||
self.logger.debug(
|
self.logger.debug(
|
||||||
@@ -339,7 +339,7 @@ class EMailNotification(BaseNotification):
|
|||||||
element.extract()
|
element.extract()
|
||||||
elif self.replacement_img:
|
elif self.replacement_img:
|
||||||
self.logger.debug(
|
self.logger.debug(
|
||||||
"{}: looking for images to replace".format(queueid)
|
"{}: looking for images to replace".format(queueid))
|
||||||
for element in soup("img"):
|
for element in soup("img"):
|
||||||
if "src" in element.attrs.keys():
|
if "src" in element.attrs.keys():
|
||||||
self.logger.debug(
|
self.logger.debug(
|
||||||
|
|||||||
Reference in New Issue
Block a user