mirror of
https://github.com/caronc/apprise.git
synced 2025-06-21 10:17:46 +02: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))
|
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…
x
Reference in New Issue
Block a user