inf2mondb: remove double-quote characters in ini string table
authorMatt Domsch <matt@domsch.com>
Fri, 2 Nov 2007 18:36:00 +0000 (13:36 -0500)
committerMatt Domsch <matt@domsch.com>
Fri, 2 Nov 2007 18:36:00 +0000 (13:36 -0500)
They're unnecessary and don't belong in the output file.

inf2mondb.py

index 6ad33707d50204f264900481e3d3624b3967554f..0040fd8668d8d3bba881c9ce811405cc6c2e110e 100755 (executable)
@@ -169,7 +169,7 @@ def main():
     
         elif section.lower() == "strings":
             for key in ini.options(section):
-                strings[key.lower()] = string.strip(ini.get(section, key))
+                strings[key.lower()] = string.strip(ini.get(section, key)).replace('"','')
     
     
     for mfr in manufacturers.keys():