Skip to content

Commit

Permalink
Merge pull request #144 from sscherfke/patch-1
Browse files Browse the repository at this point in the history
Fix "mm.extend()" call
  • Loading branch information
timkpaine authored Sep 12, 2024
2 parents a0876c7 + e177c5f commit 9bfe9b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinxcontrib/mermaid.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9bfe9b4

Please sign in to comment.