summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 20:35:18 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2013-07-20 20:35:18 +0200
commit3964f4231fa5ff68b07a50d23d3b233a0735612d (patch)
tree38ca7d44679fbc7e720c2191e53c688246c71c6b /module/plugins/hooks
parentCode optimized (diff)
downloadpyload-3964f4231fa5ff68b07a50d23d3b233a0735612d.tar.xz
Simplydebrid: fixed syntax error
+ code reformatted + removed unused imports
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/SimplydebridCOM.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/SimplydebridCOM.py b/module/plugins/hooks/SimplydebridCOM.py
index 721dce6ca..b45d289ee 100644
--- a/module/plugins/hooks/SimplydebridCOM.py
+++ b/module/plugins/hooks/SimplydebridCOM.py
@@ -3,6 +3,7 @@
from module.network.RequestFactory import getURL
from module.plugins.internal.MultiHoster import MultiHoster
+
class SimplydebridCOM(MultiHoster):
__name__ = "SimplydebridCOM"
__version__ = "0.01"
@@ -16,4 +17,4 @@ class SimplydebridCOM(MultiHoster):
def getHoster(self):
page = getURL("http://simply-debrid.com/api.php?list=1")
- return [x.strip() for x in page.rstrip(';').replace("\"","").split(";")]
+ return [x.strip() for x in page.rstrip(';').replace("\"", "").split(";")]