]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Process mc.ext
authorOleg Broytman <phd@phdru.name>
Tue, 29 Jan 2013 17:27:10 +0000 (17:27 +0000)
committerOleg Broytman <phd@phdru.name>
Tue, 29 Jan 2013 17:27:10 +0000 (17:27 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@145 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

dotfiles2html/dotfiles2html.py

index 55934ec46501943b447e9fa4d5bcef4ce496e482..11ce0fb5ac9e461d29c7977b816d364e6d197124 100755 (executable)
@@ -78,7 +78,7 @@ def process_dotfile(i, fname, ftype, file_types):
       file.write(text.replace('\e', '<Esc>'))
       file.close()
 
-   elif fname in('mailcap', 'menu') and os.path.exists(fname):
+   elif fname in('mailcap', 'mc.ext', 'menu') and os.path.exists(fname):
       file = open(fname, 'r')
       text = file.read()
       file.close()