diff --git a/fimfarchive/tasks/build.py b/fimfarchive/tasks/build.py index 24392ae..825fd5e 100644 --- a/fimfarchive/tasks/build.py +++ b/fimfarchive/tasks/build.py @@ -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()