From b3623bdd1f6b3184e700c2d21fee6c5a190a2feb Mon Sep 17 00:00:00 2001 From: Safihre Date: Tue, 1 Nov 2016 09:10:49 +0100 Subject: [PATCH] QuickCheck would fail unicode files --- sabnzbd/newsunpack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sabnzbd/newsunpack.py b/sabnzbd/newsunpack.py index 4430e34..64155c9 100644 --- a/sabnzbd/newsunpack.py +++ b/sabnzbd/newsunpack.py @@ -1738,7 +1738,7 @@ def QuickCheck(set, nzo): for file in md5pack: found = False for nzf in nzf_list: - if file == nzf.filename: + if platform_encode(file) == nzf.filename: found = True if (nzf.md5sum is not None) and nzf.md5sum == md5pack[file]: logging.debug('Quick-check of file %s OK', file)