Skip to content

Commit a70876d

Browse files
authored
fix(convert): relative path in HTML files (#136)
This fixes an error introduced by #133
1 parent 3cb0085 commit a70876d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim_slides/convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def convert_to(self, dest: Path) -> None:
333333
presentation_config.concat_animations().copy_to(full_assets_dir)
334334

335335
with open(dest, "w") as f:
336-
sections = "".join(self.get_sections_iter(full_assets_dir))
336+
sections = "".join(self.get_sections_iter(assets_dir))
337337

338338
revealjs_template = self.load_template()
339339
content = revealjs_template.format(sections=sections, **self.dict())

0 commit comments

Comments
 (0)