summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RealdebridCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:26:05 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:26:05 +0200
commit4d978dedd16418a4e7d8c81bd819a6a5fa432057 (patch)
treea347dae567c7e254b41df58e029f7bccfd5603a8 /module/plugins/hoster/RealdebridCom.py
parentFix __pattern__ www (diff)
downloadpyload-4d978dedd16418a4e7d8c81bd819a6a5fa432057.tar.xz
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
Diffstat (limited to 'module/plugins/hoster/RealdebridCom.py')
-rw-r--r--module/plugins/hoster/RealdebridCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py
index fc863863e..04ba80d0f 100644
--- a/module/plugins/hoster/RealdebridCom.py
+++ b/module/plugins/hoster/RealdebridCom.py
@@ -61,9 +61,9 @@ class RealdebridCom(Hoster):
self.logWarning(data["message"])
self.tempOffline()
else:
- if self.pyfile.name is not None and self.pyfile.name.endswith('.tmp') and data["file_name"]:
- self.pyfile.name = data["file_name"]
- self.pyfile.size = parseFileSize(data["file_size"])
+ if pyfile.name is not None and pyfile.name.endswith('.tmp') and data["file_name"]:
+ pyfile.name = data["file_name"]
+ pyfile.size = parseFileSize(data["file_size"])
new_url = data['generated_links'][0][-1]
if self.getConfig("https"):