mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Proper msgfmt fix for Python 2.6 (nw)
This commit is contained in:
parent
4a47aa234e
commit
22e5ebfbe2
2
scripts/build/msgfmt.py
Normal file → Executable file
2
scripts/build/msgfmt.py
Normal file → Executable file
@ -223,7 +223,7 @@ def make(filename, outfile):
|
||||
# See whether there is an encoding declaration
|
||||
if(hdrno > lno):
|
||||
p = HeaderParser()
|
||||
charset = p.parsestr(header).get_content_charset()
|
||||
charset = p.parsestr(str(header)).get_content_charset()
|
||||
header_attempted = True
|
||||
if charset:
|
||||
encoding = charset
|
||||
|
Loading…
Reference in New Issue
Block a user