mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 00:24:25 +01:00
Fix import --from-logfile (#6161)
Fixes "none of the paths are importable" error that was accidentally introduced in4260162d44260162d44 (diff-e324b20657a7d6b43b8b7aeb5754b96774f5062294b5ba7f1e3062845e9e7044R1382-R1390)
This commit is contained in:
commit
07445fdd07
2 changed files with 3 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ def import_func(lib, opts, args: list[str]):
|
|||
|
||||
# If all paths were read from a logfile, and none of them exist, throw
|
||||
# an error
|
||||
if not paths:
|
||||
if not byte_paths:
|
||||
raise ui.UserError("none of the paths are importable")
|
||||
|
||||
import_files(lib, byte_paths, query)
|
||||
|
|
|
|||
|
|
@ -41,6 +41,8 @@ Bug fixes:
|
|||
the default config path. :bug:`5652`
|
||||
- :doc:`plugins/lyrics`: Accepts strings for lyrics sources (previously only
|
||||
accepted a list of strings). :bug:`5962`
|
||||
- Fix a bug introduced in release 2.4.0 where import from any valid
|
||||
import-log-file always threw a "none of the paths are importable" error.
|
||||
|
||||
For plugin developers:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue