Skip to content

Commit

Permalink
Fix "mm.extend()" call
Browse files Browse the repository at this point in the history
  • Loading branch information
sscherfke authored and timkpaine committed Sep 12, 2024
1 parent a0876c7 commit e177c5f
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 e177c5f

Please sign in to comment.