summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-08 11:03:12 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-08 11:03:12 +0200
commit91bfcb8a4ff702d5f769e207537df98dfaf4001a (patch)
tree620452c77dc8e5a88f5c9f06414d678997e2e380
parentnew locale (diff)
downloadpyload-91bfcb8a4ff702d5f769e207537df98dfaf4001a.tar.xz
closed #150, closed #151
-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)