From 3964f4231fa5ff68b07a50d23d3b233a0735612d Mon Sep 17 00:00:00 2001 From: Stefano Date: Sat, 20 Jul 2013 20:35:18 +0200 Subject: Simplydebrid: fixed syntax error + code reformatted + removed unused imports --- module/plugins/hooks/SimplydebridCOM.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'module/plugins/hooks/SimplydebridCOM.py') 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(";")] -- cgit v1.2.3