diff options
author | 2015-07-24 23:57:04 +0200 | |
---|---|---|
committer | 2015-07-24 23:57:04 +0200 | |
commit | dd13825fbd3df9e441200638cd2a92e3924dfff6 (patch) | |
tree | 9159fc1b77d6f6dbf1e7871ed2fb64886f433f1f /module/plugins/hooks/Checksum.py | |
parent | Code cosmetics (diff) | |
download | pyload-dd13825fbd3df9e441200638cd2a92e3924dfff6.tar.xz |
Fix typo
Diffstat (limited to 'module/plugins/hooks/Checksum.py')
-rw-r--r-- | module/plugins/hooks/Checksum.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/Checksum.py b/module/plugins/hooks/Checksum.py index 06cb09215..9eb47e8a6 100644 --- a/module/plugins/hooks/Checksum.py +++ b/module/plugins/hooks/Checksum.py @@ -114,7 +114,7 @@ class Checksum(Addon): api_size = int(data['size']) file_size = os.path.getsize(local_file) - if api_size not is file_size: + if api_size is not file_size: self.log_warning(_("File %s has incorrect size: %d B (%d expected)") % (pyfile.name, file_size, api_size)) self.check_failed(pyfile, local_file, "Incorrect file size") |