Skip to content

Commit 6ae61c4

Browse files
committed
outp: fixed backslashes in f-string
1 parent d779a2d commit 6ae61c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pymcnp/Outp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def to_mcnp(self):
109109
OUTP for ``Outp``.
110110
"""
111111

112-
return f'{self.header}\n{"\n".join(map(str, self.blocks))}{self.footer}'
112+
return self.header + '\n' + '\n'.join(map(str, self.blocks)) + self.footer
113113

114114
def to_dataframe(self):
115115
"""

0 commit comments

Comments
 (0)