summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/AlldebridCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/AlldebridCom.py')
-rw-r--r--module/plugins/hoster/AlldebridCom.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/module/plugins/hoster/AlldebridCom.py b/module/plugins/hoster/AlldebridCom.py
index 11ee8b7d3..b2064f22f 100644
--- a/module/plugins/hoster/AlldebridCom.py
+++ b/module/plugins/hoster/AlldebridCom.py
@@ -48,17 +48,17 @@ class AlldebridCom(Hoster):
self.logDebug("Json data: %s" % str(data))
- if data["error"]:
- if data["error"] == "This link isn't available on the hoster website.":
+ if data['error']:
+ if data['error'] == "This link isn't available on the hoster website.":
self.offline()
else:
- self.logWarning(data["error"])
+ self.logWarning(data['error'])
self.tempOffline()
else:
if pyfile.name and not pyfile.name.endswith('.tmp'):
- pyfile.name = data["filename"]
- pyfile.size = parseFileSize(data["filesize"])
- new_url = data["link"]
+ pyfile.name = data['filename']
+ pyfile.size = parseFileSize(data['filesize'])
+ new_url = data['link']
if self.getConfig("https"):
new_url = new_url.replace("http://", "https://")