From 91bfcb8a4ff702d5f769e207537df98dfaf4001a Mon Sep 17 00:00:00 2001 From: RaNaN Date: Fri, 8 Oct 2010 11:03:12 +0200 Subject: closed #150, closed #151 --- module/PluginThread.py | 2 +- module/plugins/hoster/MegauploadCom.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'module') 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) -- cgit v1.2.3