changeset fdc7548539b7 in /home/hg/repos/gajim-plugins
author: hg
branches:
details:gajim-plugins?cmd=changeset;node=fdc7548539b7
description: Fixed format string (%% instead of single % for literal percent char)
diffstat:
httpupload/httpupload.py | 2 +-
1 Dateien ver?ndert, 1 Zeilen hinzugef?gt(+), 1 Zeilen entfernt(-)
Unterschiede (12 Zeilen):
diff -r 4e19c058eae8 -r fdc7548539b7 httpupload/httpupload.py
--- a/httpupload/httpupload.py Thu Sep 24 14:24:27 2015 +0200
+++ b/httpupload/httpupload.py Thu Sep 24 20:01:20 2015 +0200
@@ -450,7 +450,7 @@
pct = (float(seen) / total) * 100.0
self.progressbar.set_fraction(float(seen) / total)
self.progressbar.set_text(str(int(pct)) + "%")
- log.debug('upload progress: %.2f% (%d of %d bytes)' % (pct, seen, total))
+ log.debug('upload progress: %.2f%% (%d of %d bytes)' % (pct, seen, total))
def close_dialog(self):
self.on_cancel(None)