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:
|
||||
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 ''
|
||||
|
|
Loading…
Reference in a new issue