mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Fix import --from-logfile
Fixes "none of the paths are importable" error with any valid import log
file that was accidentally introduced in commit 4260162d4
This commit is contained in:
parent
e326aafac0
commit
2ef77852b7
1 changed files with 1 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
|
# If all paths were read from a logfile, and none of them exist, throw
|
||||||
# an error
|
# an error
|
||||||
if not paths:
|
if not byte_paths:
|
||||||
raise ui.UserError("none of the paths are importable")
|
raise ui.UserError("none of the paths are importable")
|
||||||
|
|
||||||
import_files(lib, byte_paths, query)
|
import_files(lib, byte_paths, query)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue