summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/hoster/OverLoadMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/plugin/hoster/OverLoadMe.py')
-rw-r--r--pyload/plugin/hoster/OverLoadMe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugin/hoster/OverLoadMe.py b/pyload/plugin/hoster/OverLoadMe.py
index 35360c28a..1aab372b1 100644
--- a/pyload/plugin/hoster/OverLoadMe.py
+++ b/pyload/plugin/hoster/OverLoadMe.py
@@ -42,7 +42,7 @@ class OverLoadMe(MultiHoster):
self.logWarning(data['msg'])
self.tempOffline()
else:
- if pyfile.name is not None and pyfile.name.endswith('.tmp') and data['filename']:
+ if pyfile.name and pyfile.name.endswith('.tmp') and data['filename']:
pyfile.name = data['filename']
pyfile.size = parseFileSize(data['filesize'])