diff options
author | zoidberg10 <zoidberg@mujmail.cz> | 2011-11-13 03:28:26 +0100 |
---|---|---|
committer | zoidberg10 <zoidberg@mujmail.cz> | 2011-11-13 03:28:26 +0100 |
commit | 32045d7ec0e6ad368b548f4322015001f6c9759f (patch) | |
tree | ee58b86ac3cba841dc14fd82bfed418fb18297c3 /module/plugins/internal | |
parent | Move getFileInfo to SimpleHoster.py; update Mediafire (diff) | |
download | pyload-32045d7ec0e6ad368b548f4322015001f6c9759f.tar.xz |
fix Depositfiles, UlozTo
Diffstat (limited to 'module/plugins/internal')
-rw-r--r-- | module/plugins/internal/SimpleHoster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/SimpleHoster.py b/module/plugins/internal/SimpleHoster.py index f4434d3f8..a05b6e98c 100644 --- a/module/plugins/internal/SimpleHoster.py +++ b/module/plugins/internal/SimpleHoster.py @@ -23,7 +23,7 @@ from re import search def parseFileInfo(self, url = '', html = ''): if not html and hasattr(self, "html"): html = self.html - name, size, status, found = '', 0, 0, 0 + name, size, status, found = '', 0, 3, 0 if hasattr(self, "FILE_OFFLINE_PATTERN") and search(self.FILE_OFFLINE_PATTERN, html): # File offline @@ -88,7 +88,7 @@ class SimpleHoster(Hoster): name, size, status, url = parseFileInfo(self) if status == 1: self.offline() - elif status == 0: + elif status != 2: self.parseError('File info') if not name: |