summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-05 13:13:05 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-05 13:13:05 +0200
commitf32fcfcff81b67c8102df3822434f4c2551d7ae6 (patch)
tree075c7e1b9c0bd4fea5646ea654e45d72504be83f
parentSpare code cosmetics (4) (diff)
downloadpyload-f32fcfcff81b67c8102df3822434f4c2551d7ae6.tar.xz
Fix long int conversion issue
-rw-r--r--module/plugins/internal/Hoster.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py
index e1a13af01..92cb476ea 100644
--- a/module/plugins/internal/Hoster.py
+++ b/module/plugins/internal/Hoster.py
@@ -182,7 +182,7 @@ class Hoster(Plugin):
wait_until = time.time() + wait_time + 1
self.logDebug("Set waitUntil to: %f (previous: %f)" % (wait_until, self.pyfile.waitUntil),
- "Wait: %d(+1) seconds" % wait_time)
+ "Wait: %d+1 seconds" % wait_time)
self.pyfile.waitUntil = wait_until
@@ -641,7 +641,7 @@ class Hoster(Plugin):
return True
else:
size = self.pyfile.size / 1024
- self.logInfo(_("Filesize: %i KiB, Traffic left for user %s: %i KiB") % (size, self.user, traffic))
+ self.logInfo(_("Filesize: %s KiB, Traffic left for user %s: %s KiB") % (size, self.user, traffic))
return size <= traffic