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)