summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ReloadCc.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/ReloadCc.py')
-rw-r--r--module/plugins/hooks/ReloadCc.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ReloadCc.py b/module/plugins/hooks/ReloadCc.py
index dbd9d659b..d07923624 100644
--- a/module/plugins/hooks/ReloadCc.py
+++ b/module/plugins/hooks/ReloadCc.py
@@ -1,8 +1,9 @@
from module.plugins.internal.MultiHoster import MultiHoster
-from module.common.json_layer import json_loads
+from module.common.json_layer import json_loads
from module.network.RequestFactory import getURL
+
class ReloadCc(MultiHoster):
__name__ = "ReloadCc"
__version__ = "0.3"
@@ -16,7 +17,7 @@ class ReloadCc(MultiHoster):
__author_name__ = ("Reload Team")
__author_mail__ = ("hello@reload.cc")
- interval = 0 # Disable periodic calls
+ interval = 0 # Disable periodic calls
def getHoster(self):
# If no accounts are available there will be no hosters available
@@ -44,7 +45,6 @@ class ReloadCc(MultiHoster):
answer = getURL("http://api.reload.cc/login", get=query_params)
data = json_loads(answer)
-
# If account is not valid thera are no hosters available
if data['status'] != "ok":
print "ReloadCc: Status is not ok: %s" % data['status']