From e981ef637ad5b30018f850b43f3481215551b897 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 14 Oct 2013 02:35:46 +0400 Subject: [PATCH] Escape the escape literal --- dotfiles2html/dotfiles2html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles2html/dotfiles2html.py b/dotfiles2html/dotfiles2html.py index c543ba9..640cf15 100755 --- a/dotfiles2html/dotfiles2html.py +++ b/dotfiles2html/dotfiles2html.py @@ -75,7 +75,7 @@ def process_dotfile(i, fname, ftype, file_types): text = file.read() file.close() file = open('vimrc', 'w') - file.write(text.replace('', '')) + file.write(text.replace('\033', '')) file.close() elif fname in ('mailcap', 'mc.ext', 'menu') and os.path.exists(fname): -- 2.39.2