From a70876d696e9977dd24a959244e6e45ceec3828e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Eertmans?= Date: Sun, 26 Feb 2023 00:11:12 +0100 Subject: [PATCH] fix(convert): relative path in HTML files (#136) This fixes an error introduced by #133 --- manim_slides/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manim_slides/convert.py b/manim_slides/convert.py index 376ce54..4bd1a54 100644 --- a/manim_slides/convert.py +++ b/manim_slides/convert.py @@ -333,7 +333,7 @@ class RevealJS(Converter): presentation_config.concat_animations().copy_to(full_assets_dir) with open(dest, "w") as f: - sections = "".join(self.get_sections_iter(full_assets_dir)) + sections = "".join(self.get_sections_iter(assets_dir)) revealjs_template = self.load_template() content = revealjs_template.format(sections=sections, **self.dict())