mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
Fix ValueError in convert plugin auto_convert_keep
This commit is contained in:
parent
79435c3b6f
commit
0d8f8a3cff
1 changed files with 2 additions and 2 deletions
|
|
@ -200,8 +200,8 @@ class ConvertPlugin(BeetsPlugin):
|
||||||
def auto_convert_keep(self, config, task):
|
def auto_convert_keep(self, config, task):
|
||||||
if self.config['auto_keep']:
|
if self.config['auto_keep']:
|
||||||
empty_opts = self.commands()[0].parser.get_default_values()
|
empty_opts = self.commands()[0].parser.get_default_values()
|
||||||
(dest, threads, path_formats, fmt,
|
(dest, threads, path_formats, fmt, pretend,
|
||||||
pretend, hardlink, link) = self._get_opts_and_config(empty_opts)
|
hardlink, link, playlist) = self._get_opts_and_config(empty_opts)
|
||||||
|
|
||||||
items = task.imported_items()
|
items = task.imported_items()
|
||||||
self._parallel_convert(dest, False, path_formats, fmt,
|
self._parallel_convert(dest, False, path_formats, fmt,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue