summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/PluginThread.py2
-rw-r--r--module/plugins/hoster/MegauploadCom.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 3ee299f72..6d3dd55e2 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -236,7 +236,7 @@ class DownloadThread(PluginThread):
else:
pyfile.setStatus("failed")
- self.m.log.error("pycurl error %s: %s" (code, msg))
+ self.m.log.error("pycurl error %s: %s" % (code, msg))
if self.m.core.debug:
print_exc()
self.writeDebugReport(pyfile)
diff --git a/module/plugins/hoster/MegauploadCom.py b/module/plugins/hoster/MegauploadCom.py
index b913976a0..1ee5e02be 100644
--- a/module/plugins/hoster/MegauploadCom.py
+++ b/module/plugins/hoster/MegauploadCom.py
@@ -80,7 +80,7 @@ class MegauploadCom(Hoster):
if check == "limit":
wait = self.load("http://www.megaupload.com/?c=premium&l=1")
wait = re.search(r"Please wait (\d+) minutes", wait).group(1)
- self.log.info(_("Megaupload: waiting %d minues") % wait)
+ self.log.info(_("Megaupload: waiting %d minues") % int(wait))
self.setWait(int(wait)*60, True)
self.wait()
self.process(pyfile)