Fixed checking of empty fingerprint calculation. This broke in rev. #1029

This commit is contained in:
Philipp Wolfer
2010-07-26 19:26:06 +02:00
parent 59fceb3c20
commit f3ae42a981

View File

@@ -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