mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-24 14:17:59 +01:00
Fix typing for archive builds without extras path
This commit is contained in:
parent
bb02c334ae
commit
01f3df1202
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ class BuildTask:
|
||||||
directory: Path to read extras from
|
directory: Path to read extras from
|
||||||
"""
|
"""
|
||||||
if directory is None:
|
if directory is None:
|
||||||
return ()
|
return
|
||||||
|
|
||||||
for path in Path(directory).iterdir():
|
for path in Path(directory).iterdir():
|
||||||
yield path.name, path.read_bytes()
|
yield path.name, path.read_bytes()
|
||||||
|
|
Loading…
Reference in a new issue