mirror of https://github.com/caronc/apprise
fix(pushover): ignore unsupported attachments as intended instead of discarding the entire notification (#650)
parent
f1990b14ce
commit
e9f040a2d0
|
@ -432,8 +432,9 @@ class NotifyPushover(NotifyBase):
|
||||||
attach.mimetype,
|
attach.mimetype,
|
||||||
attach.url(privacy=True)))
|
attach.url(privacy=True)))
|
||||||
|
|
||||||
return True
|
attach = None
|
||||||
|
|
||||||
|
else:
|
||||||
# If we get here, we're dealing with a supported image.
|
# If we get here, we're dealing with a supported image.
|
||||||
# Verify that the filesize is okay though.
|
# Verify that the filesize is okay though.
|
||||||
file_size = len(attach)
|
file_size = len(attach)
|
||||||
|
|
Loading…
Reference in New Issue