diff options
| author | 2013-07-26 17:14:07 +0200 | |
|---|---|---|
| committer | 2013-07-26 17:14:07 +0200 | |
| commit | 7b3f35f0ea904850c0eb58c3ca759adcf3f78c26 (patch) | |
| tree | 4a2ec0a5fdb4317079ccba19eb6ec9c2b4eb8c1b | |
| parent | fastix integration (diff) | |
| download | pyload-7b3f35f0ea904850c0eb58c3ca759adcf3f78c26.tar.xz | |
little corrections on Fastix Hoster
| -rw-r--r-- | module/plugins/hoster/Fastix.py | 6 | 
1 files changed, 2 insertions, 4 deletions
| 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
 | 
