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