mirror of
https://github.com/JockeTF/fimfarchive.git
synced 2024-11-28 07:58:00 +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
|
||||
"""
|
||||
if directory is None:
|
||||
return ()
|
||||
return
|
||||
|
||||
for path in Path(directory).iterdir():
|
||||
yield path.name, path.read_bytes()
|
||||
|
|
Loading…
Reference in a new issue