aedi: fix error reported by mypy

aedi/state.py:209: error: Incompatible return value type (got "Tuple[Optional[str], Any]", expected "Tuple[str, Path]")  [return-value]
This commit is contained in:
alexey.lysiuk 2023-02-21 09:44:44 +02:00
parent 85ed2d261e
commit c14705b6cc

View file

@ -171,7 +171,7 @@ class BuildState:
# If all files and directories are stored in one top level directory, this directory is used as a root
# If there is no single top level directory, new root directory will be created
need_new_directory = False
first_path_component = None
first_path_component = ''
for path in file_paths:
if os.sep not in path: