From 67f0c73eecbe5b2645e6c7fb8e6ad52e140d2db0 Mon Sep 17 00:00:00 2001 From: wisp3rwind <17089248+wisp3rwind@users.noreply.github.com> Date: Tue, 14 Jun 2022 22:20:38 +0200 Subject: [PATCH] drop old Python: don't handle obsolte exception in keyfinder plugin --- beetsplug/keyfinder.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/beetsplug/keyfinder.py b/beetsplug/keyfinder.py index b695ab54e..051af9e1f 100644 --- a/beetsplug/keyfinder.py +++ b/beetsplug/keyfinder.py @@ -67,12 +67,6 @@ class KeyFinderPlugin(BeetsPlugin): except (subprocess.CalledProcessError, OSError) as exc: self._log.error('execution failed: {0}', exc) continue - except UnicodeEncodeError: - # Workaround for Python 2 Windows bug. - # https://bugs.python.org/issue1759845 - self._log.error('execution failed for Unicode path: {0!r}', - item.path) - continue try: key_raw = output.rsplit(None, 1)[-1]