Fix previous commit
Hopefully this one fixes a privately reported regression introduced with the previous commit. ```python TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple' ```
This commit is contained in:
@@ -117,10 +117,10 @@ class MorituriLogger(result.Logger):
|
|||||||
"(you may have a different pressing from the "
|
"(you may have a different pressing from the "
|
||||||
"one(s) in the database)" % arHeading)
|
"one(s) in the database)" % arHeading)
|
||||||
elif self._accuratelyRipped < nonHTOA:
|
elif self._accuratelyRipped < nonHTOA:
|
||||||
|
accurateTracks = nonHTOA - self._accuratelyRipped
|
||||||
lines.append("%s Some tracks could not be verified as "
|
lines.append("%s Some tracks could not be verified as "
|
||||||
"accurate (%d/%d got no match)") % (
|
"accurate (%d/%d got no match)") % (
|
||||||
arHeading, (nonHTOA - self._accuratelyRipped),
|
arHeading, accurateTracks, nonHTOA)
|
||||||
nonHTOA)
|
|
||||||
else:
|
else:
|
||||||
lines.append("%s All tracks accurately ripped" % arHeading)
|
lines.append("%s All tracks accurately ripped" % arHeading)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user