summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Baumann <derflob@derflob.de>2016-07-13 23:30:53 +1200
committerFlorian Baumann <derflob@derflob.de>2016-07-13 23:30:53 +1200
commit05c8566d97bafad1e088f3fa9417a7628869d02f (patch)
treea009febc7663d118e8811635e85c3e06a3a5c404
parent60ac83b68723c8ebe7de07402f410171f6d7e086 (diff)
downloadsleek-0363-05c8566d97bafad1e088f3fa9417a7628869d02f.tar.gz
sleek-0363-05c8566d97bafad1e088f3fa9417a7628869d02f.tar.bz2
fix debug statementHEADmaster
-rw-r--r--xep_0363.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xep_0363.py b/xep_0363.py
index 0be9ce4..bd59d0c 100644
--- a/xep_0363.py
+++ b/xep_0363.py
@@ -36,7 +36,7 @@ class XEP_0363(BasePlugin):
fh = self._waiting_files.pop(iq['id'], None)
if (iq['type'] == 'result'):
log.debug("Got UploadSlot for {} ({}) - get: {} put: {}".format(
- self._waiting_files[iq['id']], iq['id'], iq['slot']['get'], iq['slot']['put']))
+ fh, iq['id'], iq['slot']['get'], iq['slot']['put']))
if (fh):
p = requests.put(url=iq['slot']['put'], data=fh)