Skip to content

Commit 975f7ef

Browse files
committed
Fix typo
Cut and paste error. Signed-off-by: Harumi Kuno <[email protected]>
1 parent b13e1ee commit 975f7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sphinx/writers/manpage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def header(self) -> str:
115115
" \"%(date)s\" \"%(version)s\" \"%(manual_group)s\"\n"
116116
".SH NAME\n")
117117
if self._docinfo['subtitle']:
118-
"%(title)s \\- %(subtitle)s\n")
118+
tmpl += "%(title)s \\- %(subtitle)s\n"
119119
return tmpl % self._docinfo
120120

121121
def visit_start_of_file(self, node: Element) -> None:

0 commit comments

Comments
 (0)