From 3a6672cca8fe8774d47dfda65d46716f9170d467 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 14 Jan 2026 22:59:45 +0300 Subject: [PATCH] Fix(dotfiles2html.py): Process `mx.ext.ini` --- dotfiles2html/dotfiles2html.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dotfiles2html/dotfiles2html.py b/dotfiles2html/dotfiles2html.py index e4c96ec..7cee9ee 100755 --- a/dotfiles2html/dotfiles2html.py +++ b/dotfiles2html/dotfiles2html.py @@ -21,7 +21,7 @@ home_file_types = ( ("gitconfig", "gitconfig"), ("vimrc", "vim"), ) -mc_file_types = (("mc.ext", "conf"), ("mc.ext.i", "conf"), ("menu", "conf")) +mc_file_types = (("mc.ext", "conf"), ("mc.ext.ini", "conf"), ("menu", "conf")) python_file_types = ( ("init.py", "python"), @@ -136,11 +136,6 @@ def process_files(file_types): if not os.path.exists(fname): continue - if fname == 'mc.ext.i' and not os.path.exists('mc.ext.ini'): - os.rename('mc.ext.i', 'mc.ext.ini') - if fname == 'mc.ext.i': - fname = 'mc.ext.ini' - process_dotfile(i, fname, ftype, file_types) -- 2.47.3