From e177c5febea1ab9109befdee1d13a398b8ad04a9 Mon Sep 17 00:00:00 2001 From: Stefan Scherfke Date: Tue, 2 Jul 2024 18:28:49 +0200 Subject: [PATCH] Fix "mm.extend()" call --- sphinxcontrib/mermaid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinxcontrib/mermaid.py b/sphinxcontrib/mermaid.py index c1e94ac..1b680c0 100644 --- a/sphinxcontrib/mermaid.py +++ b/sphinxcontrib/mermaid.py @@ -264,7 +264,7 @@ def render_mm(self, code, options, _fmt, prefix="mermaid"): mm_args.extend(self.builder.config.mermaid_params) mm_args += ['-i', tmpfn, '-o', outfn] if self.builder.config.mermaid_sequence_config: - mm_args.extend("--configFile", self.builder.config.mermaid_sequence_config) + mm_args.extend(["--configFile", self.builder.config.mermaid_sequence_config]) try: p = Popen(mm_args, shell=mermaid_cmd_shell, stdout=PIPE, stdin=PIPE, stderr=PIPE, env=os.environ)