mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Remove unnecessary variable
This commit is contained in:
parent
63caf1fceb
commit
9f0db13675
1 changed files with 1 additions and 2 deletions
|
|
@ -90,8 +90,7 @@ class HookPlugin(BeetsPlugin):
|
|||
self._log.error('invalid command "{0}"', command)
|
||||
return
|
||||
|
||||
encoding = _arg_encoding()
|
||||
formatter = CodingFormatter(encoding)
|
||||
formatter = CodingFormatter(_arg_encoding())
|
||||
formatted_command = formatter.format(command, event=event,
|
||||
**kwargs)
|
||||
command_pieces = shlex_split(formatted_command)
|
||||
|
|
|
|||
Loading…
Reference in a new issue