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
  • Loading branch information
saint-erk committed Jan 5, 2025
1 parent f6cd9b2 commit 9e81466
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 9e81466

Please sign in to comment.