decode ret
into str for consistency.
This commit is contained in:
parent
3ad43a33ae
commit
abce91a180
1 changed files with 2 additions and 2 deletions
|
@ -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 ''
|
||||||
|
|
Loading…
Reference in a new issue