diff options
author | 2014-04-11 12:26:05 +0200 | |
---|---|---|
committer | 2014-04-21 17:22:19 +0200 | |
commit | 41559c6d7c17862cc5640631e8a1bb7a00f923da (patch) | |
tree | d268d8d659b3099f561f03a18e5efe4fbf29ef8a /pyload/plugins/hoster/RealdebridCom.py | |
parent | Fix __pattern__ www (diff) | |
download | pyload-41559c6d7c17862cc5640631e8a1bb7a00f923da.tar.xz |
Use pyfile instead self.pyfile
Merges vuolter/pyload@b7f6e2e
(cherry picked from commit 4d978dedd16418a4e7d8c81bd819a6a5fa432057)
Diffstat (limited to 'pyload/plugins/hoster/RealdebridCom.py')
-rw-r--r-- | pyload/plugins/hoster/RealdebridCom.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/hoster/RealdebridCom.py b/pyload/plugins/hoster/RealdebridCom.py index fc863863e..04ba80d0f 100644 --- a/pyload/plugins/hoster/RealdebridCom.py +++ b/pyload/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"): |