diff options
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) |