diff options
| author | 2014-11-21 07:46:34 +0100 | |
|---|---|---|
| committer | 2014-11-21 07:48:48 +0100 | |
| commit | f1a6d14bedbadbdb14dc146bee5fba9beb741a61 (patch) | |
| tree | c6d1c9bbb6cd75195ef0359387a6c04e6f0fc56f | |
| parent | Move FilecryptCc to pyload directory (diff) | |
| download | pyload-f1a6d14bedbadbdb14dc146bee5fba9beb741a61.tar.xz | |
[SimpleCrypter][SimpleHoster] Fix info attr init
Conflicts:
	pyload/plugins/internal/SimpleCrypter.py
	pyload/plugins/internal/SimpleHoster.py
| -rw-r--r-- | pyload/plugins/internal/SimpleCrypter.py | 3 | ||||
| -rw-r--r-- | pyload/plugins/internal/SimpleHoster.py | 7 | 
2 files changed, 6 insertions, 4 deletions
| diff --git a/pyload/plugins/internal/SimpleCrypter.py b/pyload/plugins/internal/SimpleCrypter.py index 227c93da6..eb0f8a323 100644 --- a/pyload/plugins/internal/SimpleCrypter.py +++ b/pyload/plugins/internal/SimpleCrypter.py @@ -76,6 +76,9 @@ class SimpleCrypter(Crypter):          if self.LOGIN_PREMIUM and not self.premium:              self.fail(_("Required premium account not found")) +        self.info  = {} +        self.links = [] +          self.req.setOption("timeout", 120)          if isinstance(self.COOKIES, list): diff --git a/pyload/plugins/internal/SimpleHoster.py b/pyload/plugins/internal/SimpleHoster.py index 0efcb9c6f..9fd4268dc 100644 --- a/pyload/plugins/internal/SimpleHoster.py +++ b/pyload/plugins/internal/SimpleHoster.py @@ -212,15 +212,14 @@ class SimpleHoster(Hoster):          return info -    def init(self): -        self.link = ""  #@TODO: Move to hoster class in 0.4.10 - -      def setup(self):          self.resumeDownload = self.multiDL = self.premium      def prepare(self): +        self.info = {} +        self.link = ""  #@TODO: Move to hoster class in 0.4.10 +          if self.CHECK_DIRECT_LINK is None:              self.CHECK_DIRECT_LINK = bool(self.account) | 
