From 035c294e3e4b02c9e23349012225430637aadbe4 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 8 Oct 2015 16:46:32 +0200 Subject: Fix https://github.com/pyload/pyload/issues/1962 (and many other tickets) --- module/plugins/internal/Base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/internal/Base.py') 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 -- cgit v1.2.3