diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 16:46:32 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-08 16:46:32 +0200 |
commit | 035c294e3e4b02c9e23349012225430637aadbe4 (patch) | |
tree | b67a30ccd8376d7c5450d731e56f8ba7e479a4ca /module/plugins/internal/Base.py | |
parent | Fix https://github.com/pyload/pyload/issues/1978 (diff) | |
download | pyload-035c294e3e4b02c9e23349012225430637aadbe4.tar.xz |
Fix https://github.com/pyload/pyload/issues/1962 (and many other tickets)
Diffstat (limited to 'module/plugins/internal/Base.py')
-rw-r--r-- | module/plugins/internal/Base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Base.py b/module/plugins/internal/Base.py index d4d4094b9..28b648994 100644 --- a/module/plugins/internal/Base.py +++ b/module/plugins/internal/Base.py @@ -46,7 +46,7 @@ def check_abort(fn): class Base(Plugin): __name__ = "Base" __type__ = "base" - __version__ = "0.07" + __version__ = "0.08" __status__ = "testing" __pattern__ = r'^unmatchable$' @@ -158,7 +158,7 @@ class Base(Plugin): self.req = self.pyload.requestFactory.getRequest(self.__name__, self.account.user) self.chunk_limit = -1 #: -1 for unlimited self.resume_download = True - self.premium = self.account.premium + self.premium = self.account.info['data']['premium'] #: Don't use `self.account.premium` to avoid one unnecessary get_info call else: self.req = self.pyload.requestFactory.getRequest(self.__name__) self.chunk_limit = 1 |