Skip to content

Commit

Permalink
Don't show size mismatch warnings for zero-size files
Browse files Browse the repository at this point in the history
Signed-off-by: Avery Sterk <[email protected]>
  • Loading branch information
saint-erk committed Jan 5, 2025
1 parent 3fc4c4c commit 2d90289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whipper/program/cdparanoia.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def _done(self):
"File is empty, "
"expected size %d" % (
expected )))
if size != expected:
elif size != expected:
# FIXME: handle errors better
logger.warning('file size %d did not match expected size %d',
size, expected)
Expand Down

0 comments on commit 2d90289

Please sign in to comment.