diff options
author | Florian Klien <flowolf@klienux.org> | 2018-10-27 23:32:18 +0200 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-10-27 23:38:09 +0200 |
commit | 8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f (patch) | |
tree | 7766b3fb305fc140ba656053f4d382bffb0bd3bb /examples | |
parent | f0b21c42d5a84ab9e239feb8a9ed6e63ac56da94 (diff) | |
download | slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.tar.gz slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.tar.bz2 slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.tar.xz slixmpp-8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f.zip |
typo
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/http_upload.py | 2 |
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) |