X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=blobdiff_plain;f=dotfiles2html%2Fdotfiles2html.py;h=b61423adbafe25396c22db50c83b5f049551333b;hp=640cf15625567c6c9d126d41820e230249510fdc;hb=16b3c5e75f3c97b363a1d885ec8bd6b49d055632;hpb=096d80a7393ae28796457dba243b191591fbe792 diff --git a/dotfiles2html/dotfiles2html.py b/dotfiles2html/dotfiles2html.py index 640cf15..b61423a 100755 --- a/dotfiles2html/dotfiles2html.py +++ b/dotfiles2html/dotfiles2html.py @@ -87,11 +87,11 @@ def process_dotfile(i, fname, ftype, file_types): text = text.replace('mplayerer', 'mplayer') if fname == 'mailcap': text = text.replace( - '-a -n "`which smplayer`" -a -n "`which smplayer`"', - '-a -n "`which smplayer`"') + '-a -n "`which smplayer 2>/dev/null`" -a -n "`which smplayer 2>/dev/null`"', + '-a -n "`which smplayer 2>/dev/null`"') text = text.replace( - '-a -n "`which mplayer`" -a -n "`which mplayer`"', - '-a -n "`which mplayer`"') + '-a -n "`which mplayer 2>/dev/null`" -a -n "`which mplayer 2>/dev/null`"', + '-a -n "`which mplayer 2>/dev/null`"') file.write(text) file.close()