diff --git a/src/apworld_tester/pipeline/sheet/fetcher.py b/src/apworld_tester/pipeline/sheet/fetcher.py index 037b006..975360a 100644 --- a/src/apworld_tester/pipeline/sheet/fetcher.py +++ b/src/apworld_tester/pipeline/sheet/fetcher.py @@ -51,6 +51,7 @@ class SheetFetcher: def save(self, content=None): """Write the tab's HTML, returning where it landed.""" content = self.fetch() if content is None else content + os.makedirs(os.path.dirname(self.paths.sheet_html), exist_ok=True) with open(self.paths.sheet_html, "wb") as handle: handle.write(content) return self.paths.sheet_html