From 2ef77852b714a6dedfe2f3d7baac687006864c68 Mon Sep 17 00:00:00 2001 From: J0J0 Todos Date: Wed, 12 Nov 2025 20:47:36 +0100 Subject: [PATCH] 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 --- beets/ui/commands/import_/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/commands/import_/__init__.py b/beets/ui/commands/import_/__init__.py index 5dba71fa8..b2991f183 100644 --- a/beets/ui/commands/import_/__init__.py +++ b/beets/ui/commands/import_/__init__.py @@ -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)