decode ret into str for consistency.

This commit is contained in:
Artem Pavlenko 2018-02-28 15:42:25 +01:00
parent 3ad43a33ae
commit abce91a180

View file

@ -835,8 +835,8 @@ int main() {
else:
ret = call("icu-config --icudatadir", silent=True)
if ret:
context.Result('icu-config returned %s' % ret)
return ret
context.Result('icu-config returned %s' % ret.decode("utf8"))
return ret.decode('utf8')
else:
context.Result('Failed to detect (mapnik-config will have null value)')
return ''