Skip to content

Commit

Permalink
Fix unused local variable linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
pierreay committed Jul 3, 2024
1 parent b16d746 commit e773368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beetsplug/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def convert_item(
# to avoid any side-effect of the conversion (linking, keep_new,
# refresh) if we already know that it will fail.
try:
mf = mediafile.MediaFile(util.syspath(item.path))
mediafile.MediaFile(util.syspath(item.path))
except mediafile.UnreadableFileError as exc:
self._log.error("Could not open file to convert: {0}", exc)
continue
Expand Down

0 comments on commit e773368

Please sign in to comment.