summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-12 01:04:41 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-12 01:04:41 +0200
commite57289358f58e966e4b49a80f947ddbc4a16b1f8 (patch)
tree98e4702538a4bc93e64bd3b807ed0b6abc8a18ca
parentd6f7d32bbe495533f68d91c83a1666e76a30dc84 (diff)
parent4aa35c11abbd4f2ee5e379a097de981207800193 (diff)
downloadslixmpp-e57289358f58e966e4b49a80f947ddbc4a16b1f8.tar.gz
slixmpp-e57289358f58e966e4b49a80f947ddbc4a16b1f8.tar.bz2
slixmpp-e57289358f58e966e4b49a80f947ddbc4a16b1f8.tar.xz
slixmpp-e57289358f58e966e4b49a80f947ddbc4a16b1f8.zip
Merge branch 'upload-disco-form' into 'master'
xep_0363: Ensure every form in disco#info is read See merge request poezio/slixmpp!49
-rw-r--r--slixmpp/plugins/xep_0363/http_upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slixmpp/plugins/xep_0363/http_upload.py b/slixmpp/plugins/xep_0363/http_upload.py
index 266fc656..7b9ccc7d 100644
--- a/slixmpp/plugins/xep_0363/http_upload.py
+++ b/slixmpp/plugins/xep_0363/http_upload.py
@@ -116,7 +116,7 @@ class XEP_0363(BasePlugin):
except (TypeError, ValueError):
log.error('Invalid max size received from HTTP File Upload service')
self.max_file_size = float('+inf')
- break
+ break
if input_file is None:
input_file = open(filename, 'rb')