drop old Python: don't handle obsolte exception in keyfinder plugin

This commit is contained in:
wisp3rwind 2022-06-14 22:20:38 +02:00
parent 5cdb0c5c5c
commit 67f0c73eec

View file

@ -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]