summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-11 20:20:43 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-01-11 20:20:43 +0100
commit187586c77f750340c2d8c84781c82a3e612f17c3 (patch)
tree6ef89bf039cff4ec6149c2e9de8e3794b714cb9b /module/plugins/hoster/RapidgatorNet.py
parent[NitroflareCom] Fix bad import (diff)
downloadpyload-187586c77f750340c2d8c84781c82a3e612f17c3.tar.xz
Fix getAccount in some plugins
Diffstat (limited to 'module/plugins/hoster/RapidgatorNet.py')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index 4d192d602..84c3b20d6 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -13,7 +13,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, s
class RapidgatorNet(SimpleHoster):
__name__ = "RapidgatorNet"
__type__ = "hoster"
- __version__ = "0.28"
+ __version__ = "0.29"
__pattern__ = r'http://(?:www\.)?(rapidgator\.net|rg\.to)/file/\w+'
@@ -46,7 +46,7 @@ class RapidgatorNet(SimpleHoster):
def setup(self):
if self.account:
- self.sid = self.account.getAccountData(self.user).get('SID', None)
+ self.sid = self.account.getAccountInfo(self.user).get('SID', None)
else:
self.sid = None
@@ -85,7 +85,6 @@ class RapidgatorNet(SimpleHoster):
def handlePremium(self, pyfile):
- #self.logDebug("ACCOUNT_DATA", self.account.getAccountData(self.user))
self.api_data = self.api_response('info')
self.api_data['md5'] = self.api_data['hash']