From: Oleg Broytman Date: Wed, 14 Jan 2026 19:59:45 +0000 (+0300) Subject: Fix(dotfiles2html.py): Process `mx.ext.ini` X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;ds=sidebyside;p=phdru.name%2Fphdru.name.git Fix(dotfiles2html.py): Process `mx.ext.ini` --- 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)