From 5c608d42a7b8b655537c63bd70fcef6de4bf2e09 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 22 Jul 2025 15:33:50 +0530 Subject: [PATCH] pep8 --- src/calibre/utils/ffml_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/ffml_processor.py b/src/calibre/utils/ffml_processor.py index 892c09a8bd..267e8775f8 100644 --- a/src/calibre/utils/ffml_processor.py +++ b/src/calibre/utils/ffml_processor.py @@ -393,7 +393,7 @@ class FFMLProcessor: t = t + ' ' result += f'``{t}``' elif tree.node_kind() == NodeKinds.CODE_BLOCK: - result += "\n[CODE]\n" + tree.text().replace('[/CODE]', r'[\/CODE]') + "[/CODE]\n" + result += '\n[CODE]\n' + tree.text().replace('[/CODE]', r'[\/CODE]') + '[/CODE]\n' elif tree.node_kind() == NodeKinds.END_SUMMARY: result += '[/]' elif tree.node_kind() == NodeKinds.ERROR_TEXT: