From e773368d79f76389a41d95b23201b1c9d579f5b7 Mon Sep 17 00:00:00 2001 From: Pierre Ayoub Date: Wed, 3 Jul 2024 12:25:22 +0200 Subject: [PATCH] Fix unused local variable linting error --- beetsplug/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beetsplug/convert.py b/beetsplug/convert.py index a48aa8de12..69075b5cad 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -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