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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/AlldebridCom.py b/module/plugins/hoster/AlldebridCom.py
index b094c805b..a3386ea02 100644
--- a/module/plugins/hoster/AlldebridCom.py
+++ b/module/plugins/hoster/AlldebridCom.py
@@ -55,9 +55,9 @@ class AlldebridCom(Hoster):
self.logWarning(data["error"])
self.tempOffline()
else:
- if self.pyfile.name and not self.pyfile.name.endswith('.tmp'):
- self.pyfile.name = data["filename"]
- self.pyfile.size = parseFileSize(data["filesize"])
+ if pyfile.name and not pyfile.name.endswith('.tmp'):
+ pyfile.name = data["filename"]
+ pyfile.size = parseFileSize(data["filesize"])
new_url = data["link"]
if self.getConfig("https"):