From 7b3f35f0ea904850c0eb58c3ca759adcf3f78c26 Mon Sep 17 00:00:00 2001 From: Max Date: Fri, 26 Jul 2013 17:14:07 +0200 Subject: little corrections on Fastix Hoster --- module/plugins/hoster/Fastix.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'module/plugins/hoster') diff --git a/module/plugins/hoster/Fastix.py b/module/plugins/hoster/Fastix.py index c16465d92..5ebd63c44 100644 --- a/module/plugins/hoster/Fastix.py +++ b/module/plugins/hoster/Fastix.py @@ -29,16 +29,14 @@ class Fastix(Hoster): return name def init(self): - self.tries = 0 self.chunkLimit = 3 self.resumeDownload = True def process(self, pyfile): if not self.account: - self.logError("Please enter your Fastix account or deactivate this plugin") self.fail("No Fastix account provided") - self.log.debug("Fastix: Old URL: %s" % pyfile.url) + self.logDebug("Old URL: %s" % pyfile.url) if re.match(self.__pattern__, pyfile.url): new_url = pyfile.url else: @@ -53,7 +51,7 @@ class Fastix(Hoster): else: new_url = data["downloadlink"] - self.logDebug("Fastix: New URL: %s" % new_url) + self.logDebug("New URL: %s" % new_url) if pyfile.name.startswith("http") or pyfile.name.startswith("Unknown"): #only use when name wasnt already set -- cgit v1.2.3