summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Hoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 23:57:04 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-24 23:57:04 +0200
commitdd13825fbd3df9e441200638cd2a92e3924dfff6 (patch)
tree9159fc1b77d6f6dbf1e7871ed2fb64886f433f1f /module/plugins/internal/Hoster.py
parentCode cosmetics (diff)
downloadpyload-dd13825fbd3df9e441200638cd2a92e3924dfff6.tar.xz
Fix typo
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r--module/plugins/internal/Hoster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/internal/Hoster.py b/module/plugins/internal/Hoster.py
index dbc5e88a8..0d2e4dcc4 100644
--- a/module/plugins/internal/Hoster.py
+++ b/module/plugins/internal/Hoster.py
@@ -408,7 +408,7 @@ class Hoster(Plugin):
if newname:
newname = urlparse.urlparse(newname).path.split('/')[-1]
- if disposition and newname not is name:
+ if disposition and newname is not name:
self.log_info(_("%(name)s saved as %(newname)s") % {'name': name, 'newname': newname})
self.pyfile.name = newname
filename = os.path.join(location, newname)