From: Oleg Broytman Date: Sun, 13 Oct 2013 22:35:46 +0000 (+0400) Subject: Escape the escape literal X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e981ef637ad5b30018f850b43f3481215551b897;p=phdru.name%2Fphdru.name.git Escape the escape literal --- 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):