diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-09 15:30:33 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-01-09 15:30:33 +0100 |
commit | 0fd436d7d647d7c26b8b43e1ec09b7c7819e2df7 (patch) | |
tree | a4aac01a6c16de526a01464fed6e6195b63f54e6 /module/plugins/hoster/FileserveCom.py | |
parent | closed #213, #212, #101 (diff) | |
download | pyload-0fd436d7d647d7c26b8b43e1ec09b7c7819e2df7.tar.xz |
Diffstat (limited to 'module/plugins/hoster/FileserveCom.py')
-rw-r--r-- | module/plugins/hoster/FileserveCom.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/module/plugins/hoster/FileserveCom.py b/module/plugins/hoster/FileserveCom.py index 36d4b2f59..38d47ee3a 100644 --- a/module/plugins/hoster/FileserveCom.py +++ b/module/plugins/hoster/FileserveCom.py @@ -46,7 +46,11 @@ class FileserveCom(Hoster): def setup(self):
if self.account:
- self.req.canContinue = True
+ self.premium = self.account.getAccountInfo(self.user)["premium"]
+ if not self.premium:
+ self.multiDL = False
+ self.resumeDownload = False
+ self.chunkLimit = 1
else:
self.multiDL = False
@@ -63,7 +67,7 @@ class FileserveCom(Hoster): self.pyfile.name = re.search('<h1>(.*?)<br/></h1>', self.html).group(1)
- if self.account:
+ if self.account and self.premium:
self.handlePremium()
else:
self.handleFree()
|