]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Unreplace 'mplayerer' back to 'mplayer'. Copyright 2010.
authorOleg Broytman <phd@phdru.name>
Sun, 25 Jul 2010 19:41:09 +0000 (19:41 +0000)
committerOleg Broytman <phd@phdru.name>
Sun, 25 Jul 2010 19:41:09 +0000 (19:41 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@103 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

dotfiles2html/dotfiles2html.py

index e9e730eb4a3499abeb6ebf8027faa7bb22e46d27..887eae3f02d75ce0198683ca577a3afaa138adde 100755 (executable)
@@ -4,7 +4,7 @@ __version__ = "$Revision$"[11:-2]
 __revision__ = "$Id$"[5:-2]
 __date__ = "$Date$"[7:-2]
 __author__ = "Oleg Broytman <phd@phd.pp.ru>"
-__copyright__ = "Copyright (C) 2004-2009 PhiloSoft Design"
+__copyright__ = "Copyright (C) 2004-2010 PhiloSoft Design"
 
 import os, shutil, filecmp
 os.umask(0022) # octal; -rw-r--r--
@@ -78,7 +78,9 @@ for i, (fname, ftype) in enumerate(file_types):
       text = file.read()
       file.close()
       file = open('menu', 'w')
-      file.write(text.replace('mplay', 'mplayer'))
+      text = text.replace('mplay', 'mplayer')
+      text = text.replace('mplayerer', 'mplayer')
+      file.write(text)
       file.close()
 
    if not os.path.exists(fname):