Skip to content

Commit

Permalink
Fix typing for archive builds without extras path
Browse files Browse the repository at this point in the history
  • Loading branch information
JockeTF committed May 15, 2024
1 parent 5650cfd commit 6a0ad8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fimfarchive/tasks/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def get_extras(
directory: Path to read extras from
"""
if directory is None:
return ()
return

for path in Path(directory).iterdir():
yield path.name, path.read_bytes()
Expand Down

0 comments on commit 6a0ad8b

Please sign in to comment.