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:
J0J0 Todos 2025-11-12 20:47:36 +01:00
parent e326aafac0
commit 2ef77852b7

View file

@ -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)