From bf393c1296294b3cae02aa0f6944da171fc34c09 Mon Sep 17 00:00:00 2001 From: lhess2021 Date: Fri, 4 Mar 2022 12:23:18 -0500 Subject: [PATCH] five tabs in front of lines --- py-scripts.d/word-tags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-scripts.d/word-tags.py b/py-scripts.d/word-tags.py index 7ad34a6..26cc827 100644 --- a/py-scripts.d/word-tags.py +++ b/py-scripts.d/word-tags.py @@ -75,7 +75,7 @@ def add_tags(filename): # If there's a single space at the beginning of the line, delete it line_spaced = line_spaced.lstrip(' ') # Add three tabs at the beginning - line_spaced = re.sub('^','\t\t\t',line_spaced) + line_spaced = re.sub('^','\t\t\t\t\t',line_spaced) Cxml.write(line_spaced) Cxmltmp.close() os.remove(tmpxmlfile)