diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-24 23:57:04 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-24 23:57:04 +0200 |
commit | dd13825fbd3df9e441200638cd2a92e3924dfff6 (patch) | |
tree | 9159fc1b77d6f6dbf1e7871ed2fb64886f433f1f /module/plugins/internal/Hoster.py | |
parent | Code cosmetics (diff) | |
download | pyload-dd13825fbd3df9e441200638cd2a92e3924dfff6.tar.xz |
Fix typo
Diffstat (limited to 'module/plugins/internal/Hoster.py')
-rw-r--r-- | module/plugins/internal/Hoster.py | 2 |
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) |