From 8779d40602c94e49b51fbfeaaaf2f5272b8e5a8f Mon Sep 17 00:00:00 2001 From: Florian Klien Date: Sat, 27 Oct 2018 23:32:18 +0200 Subject: [PATCH] typo --- examples/http_upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)