mirror of
https://github.com/caronc/apprise.git
synced 2025-12-15 10:04:06 +08:00
File attachments now work in form:// endpoint calls (#826)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user