From f3ae42a981bf992f83e1012f467fc490aaf9368e Mon Sep 17 00:00:00 2001 From: Philipp Wolfer Date: Mon, 26 Jul 2010 19:26:06 +0200 Subject: [PATCH] Fixed checking of empty fingerprint calculation. This broke in rev. #1029 --- picard/musicdns/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picard/musicdns/__init__.py b/picard/musicdns/__init__.py index e5ea73800..55e43b469 100644 --- a/picard/musicdns/__init__.py +++ b/picard/musicdns/__init__.py @@ -90,7 +90,7 @@ class OFA(QtCore.QObject): # The file has been removed. do nothing return - if result is None or error is not None: + if result is None or result[0] is None or error is not None: next(file, result=None) return fingerprint, length = result