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:
JoeLametta
2016-07-22 16:41:40 +02:00
parent 7977fe5429
commit 9099da2ace

View File

@@ -117,10 +117,10 @@ class MorituriLogger(result.Logger):
"(you may have a different pressing from the "
"one(s) in the database)" % arHeading)
elif self._accuratelyRipped < nonHTOA:
accurateTracks = nonHTOA - self._accuratelyRipped
lines.append("%s Some tracks could not be verified as "
"accurate (%d/%d got no match)") % (
arHeading, (nonHTOA - self._accuratelyRipped),
nonHTOA)
arHeading, accurateTracks, nonHTOA)
else:
lines.append("%s All tracks accurately ripped" % arHeading)