Proper msgfmt fix for Python 2.6 (nw)

This commit is contained in:
balr0g 2016-03-26 09:46:01 -04:00
parent 4a47aa234e
commit 22e5ebfbe2

2
scripts/build/msgfmt.py Normal file → Executable file
View 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