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: else:
ret = call("icu-config --icudatadir", silent=True) ret = call("icu-config --icudatadir", silent=True)
if ret: if ret:
context.Result('icu-config returned %s' % ret) context.Result('icu-config returned %s' % ret.decode("utf8"))
return ret return ret.decode('utf8')
else: else:
context.Result('Failed to detect (mapnik-config will have null value)') context.Result('Failed to detect (mapnik-config will have null value)')
return '' return ''