From: Matt Domsch Date: Fri, 2 Nov 2007 18:36:00 +0000 (-0500) Subject: inf2mondb: remove double-quote characters in ini string table X-Git-Tag: hwdata-0.212-1~6^2~14 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5dfd20cef1f8a97f0948dc7ffbfeda78b0f12e07;p=oweals%2Fhwdata.git inf2mondb: remove double-quote characters in ini string table They're unnecessary and don't belong in the output file. --- diff --git a/inf2mondb.py b/inf2mondb.py index 6ad3370..0040fd8 100755 --- a/inf2mondb.py +++ b/inf2mondb.py @@ -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():