summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFlorian Klien <flowolf@klienux.org>2018-10-27 23:32:18 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-10-27 23:38:09 +0200
commit8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f (patch)
tree7766b3fb305fc140ba656053f4d382bffb0bd3bb /examples
parentf0b21c42d5a84ab9e239feb8a9ed6e63ac56da94 (diff)
downloadslixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.tar.gz
slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.tar.bz2
slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.tar.xz
slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.zip
typo
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/http_upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/http_upload.py b/examples/http_upload.py
index 2b522a7f..268a22dc 100755
--- a/examples/http_upload.py
+++ b/examples/http_upload.py
@@ -38,7 +38,7 @@ class HttpUpload(slixmpp.ClientXMPP):
def timeout_callback(arg):
raise TimeoutError("could not send message in time")
url = await self['xep_0363'].upload_file(
- self.filename, domain=self.domain timeout=10, timeout_callback=timeout_callback)
+ self.filename, domain=self.domain, timeout=10, timeout_callback=timeout_callback)
log.info('Upload success!')
log.info('Sending file to %s', self.recipient)