From 3627a442bee88675f3c26ccc6ca24bb5fd9f8a65 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 18 Mar 2022 10:51:11 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/txt/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/txt/processor.py b/src/calibre/ebooks/txt/processor.py index 9add787bc4..be017b3f4f 100644 --- a/src/calibre/ebooks/txt/processor.py +++ b/src/calibre/ebooks/txt/processor.py @@ -220,7 +220,7 @@ def remove_indents(txt): ''' Remove whitespace at the beginning of each line. ''' - return '\n'.join([l.lstrip() for l in txt.splitlines()]) + return '\n'.join(l.lstrip() for l in txt.splitlines()) def opf_writer(path, opf_name, manifest, spine, mi):