mirror of https://github.com/caronc/apprise
File attachments now work in form:// endpoint calls (#826)
parent
c2fdd47b9d
commit
f7cc732c31
|
@ -267,12 +267,6 @@ class NotifyForm(NotifyBase):
|
||||||
self.logger.debug('I/O Exception: %s' % str(e))
|
self.logger.debug('I/O Exception: %s' % str(e))
|
||||||
return False
|
return False
|
||||||
|
|
||||||
finally:
|
|
||||||
for file in files:
|
|
||||||
# Ensure all files are closed
|
|
||||||
if file[1][1]:
|
|
||||||
file[1][1].close()
|
|
||||||
|
|
||||||
# prepare Form Object
|
# prepare Form Object
|
||||||
payload = {
|
payload = {
|
||||||
# Version: Major.Minor, Major is only updated if the entire
|
# Version: Major.Minor, Major is only updated if the entire
|
||||||
|
|
Loading…
Reference in New Issue