summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/ReloadCc.py
diff options
context:
space:
mode:
authorGravatar Nils Hesse <nphesse@gmail.com> 2012-11-08 13:17:28 +0100
committerGravatar Nils Hesse <nphesse@gmail.com> 2012-11-08 13:17:28 +0100
commit676b45df1589ce6bce14999f1753484c4f0d7f53 (patch)
tree58dae57405c35998e134b7ace2c22741af00baf7 /module/plugins/accounts/ReloadCc.py
parentAdded the reload.cc plugin (diff)
downloadpyload-676b45df1589ce6bce14999f1753484c4f0d7f53.tar.xz
Added some error codes to the reload.cc hoster plugin
Removed some leftover comments from account plugin
Diffstat (limited to 'module/plugins/accounts/ReloadCc.py')
-rw-r--r--module/plugins/accounts/ReloadCc.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/accounts/ReloadCc.py b/module/plugins/accounts/ReloadCc.py
index 1db5ba6af..c1efd05c5 100644
--- a/module/plugins/accounts/ReloadCc.py
+++ b/module/plugins/accounts/ReloadCc.py
@@ -13,7 +13,7 @@ class ReloadCc(Account):
def loadAccountInfo(self, user, req):
- # Get user data from premiumize.me
+ # Get user data from reload.cc
status = self.getAccountStatus(user, req)
# Parse account info
@@ -25,7 +25,7 @@ class ReloadCc(Account):
def login(self, user, data, req):
- # Get user data from premiumize.me
+ # Get user data from reload.cc
status = self.getAccountStatus(user, req)
# Check if user and password are valid
@@ -43,5 +43,4 @@ class ReloadCc(Account):
# Use reload.cc API v1 to retrieve account info and return the parsed json answer
answer = req.load("https://api.reload.cc/login?via=pyload&v=1&get_traffic=true&user=%s&%s" % (user, pwd))
- return json_loads(answer)
- \ No newline at end of file
+ return json_loads(answer) \ No newline at end of file