summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/SimpleCrypter.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-21 07:46:34 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-21 07:46:34 +0100
commitacddd89ad9e0ce9107ac9a99443cfbecc58a1ff9 (patch)
treeb7585fda9731d1a3f273cdf569c82f9931d00bbc /module/plugins/internal/SimpleCrypter.py
parentFix cookie domain (diff)
downloadpyload-acddd89ad9e0ce9107ac9a99443cfbecc58a1ff9.tar.xz
[SimpleCrypter][SimpleHoster] Fix info attr init
Diffstat (limited to 'module/plugins/internal/SimpleCrypter.py')
-rw-r--r--module/plugins/internal/SimpleCrypter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/internal/SimpleCrypter.py b/module/plugins/internal/SimpleCrypter.py
index d1938ec66..75c687c16 100644
--- a/module/plugins/internal/SimpleCrypter.py
+++ b/module/plugins/internal/SimpleCrypter.py
@@ -71,9 +71,6 @@ class SimpleCrypter(Crypter):
#@TODO: remove in 0.4.10
def init(self):
- self.info = {} #@TODO: Remove in 0.4.10
- self.links = []
-
account_name = (self.__name__ + ".py").replace("Folder.py", "").replace(".py", "")
account = self.core.accountManager.getAccountPlugin(account_name)
@@ -92,6 +89,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):