mirror of
https://github.com/holub/mame
synced 2025-07-01 16:19:38 +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
|
# See whether there is an encoding declaration
|
||||||
if(hdrno > lno):
|
if(hdrno > lno):
|
||||||
p = HeaderParser()
|
p = HeaderParser()
|
||||||
charset = p.parsestr(header).get_content_charset()
|
charset = p.parsestr(str(header)).get_content_charset()
|
||||||
header_attempted = True
|
header_attempted = True
|
||||||
if charset:
|
if charset:
|
||||||
encoding = charset
|
encoding = charset
|
||||||
|
Loading…
Reference in New Issue
Block a user