mirror of
https://github.com/beetbox/beets.git
synced 2026-01-01 05:23:05 +01:00
drop old Python: don't handle obsolte exception in keyfinder plugin
This commit is contained in:
parent
5cdb0c5c5c
commit
67f0c73eec
1 changed files with 0 additions and 6 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue