Skip to content

Commit ffc665e

Browse files
Pierre AyoubPierre Ayoub
Pierre Ayoub
authored and
Pierre Ayoub
committed
Fix unused local variable linting error
1 parent b3e75b4 commit ffc665e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beetsplug/convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ def convert_item(
356356
# to avoid any side-effect of the conversion (linking, keep_new,
357357
# refresh) if we already know that it will fail.
358358
try:
359-
mf = mediafile.MediaFile(util.syspath(item.path))
359+
mediafile.MediaFile(util.syspath(item.path))
360360
except mediafile.UnreadableFileError as exc:
361361
self._log.error("Could not open file to convert: {0}", exc)
362362
continue

0 commit comments

Comments
 (0)