diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-08 15:38:01 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-08 15:38:01 +0200 |
commit | 02e3ede3edcf4415ac466fbea9d4f25d9ccc8671 (patch) | |
tree | 81084f9263f9229790e62097957d5132f18028e9 /module/plugins/hoster/RealdebridCom.py | |
parent | [UserAgentSwitcher] Random user-agent feature (diff) | |
download | pyload-02e3ede3edcf4415ac466fbea9d4f25d9ccc8671.tar.xz |
Spare code cosmetics
Diffstat (limited to 'module/plugins/hoster/RealdebridCom.py')
-rw-r--r-- | module/plugins/hoster/RealdebridCom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/RealdebridCom.py b/module/plugins/hoster/RealdebridCom.py index 1a8715e0e..f35eb5e03 100644 --- a/module/plugins/hoster/RealdebridCom.py +++ b/module/plugins/hoster/RealdebridCom.py @@ -44,7 +44,7 @@ class RealdebridCom(MultiHoster): self.logWarning(data['message']) self.tempOffline() else: - if pyfile.name is not None and pyfile.name.endswith('.tmp') and data['file_name']: + if pyfile.name and pyfile.name.endswith('.tmp') and data['file_name']: pyfile.name = data['file_name'] pyfile.size = parseFileSize(data['file_size']) self.link = data['generated_links'][0][-1] |