mirror of
https://github.com/86Box/bios-tools.git
synced 2026-02-25 12:55:33 -07:00
BonusAnalyzer: Strip DMI strings
This commit is contained in:
@@ -1179,7 +1179,7 @@ class BonusAnalyzer(Analyzer):
|
||||
if string_value < 0: # empty if not set
|
||||
strings.append('')
|
||||
else:
|
||||
string_contents = string_table[string_value].decode('cp437', 'ignore')
|
||||
string_contents = string_table[string_value].decode('cp437', 'ignore').strip()
|
||||
if string_contents:
|
||||
found_any = True
|
||||
strings.append(string_contents)
|
||||
|
||||
Reference in New Issue
Block a user