unicode to not be touched by strange locale (just in case)
This commit is contained in:
parent
885b1d9e91
commit
6e61913e37
|
@ -60,7 +60,7 @@ def get_uf_sub(sub):
|
||||||
else:
|
else:
|
||||||
uf_sub = sub
|
uf_sub = sub
|
||||||
|
|
||||||
return uf_sub
|
return unicode(uf_sub)
|
||||||
|
|
||||||
def get_uf_ask(ask):
|
def get_uf_ask(ask):
|
||||||
if ask is None:
|
if ask is None:
|
||||||
|
@ -70,7 +70,7 @@ def get_uf_ask(ask):
|
||||||
else:
|
else:
|
||||||
uf_ask = ask
|
uf_ask = ask
|
||||||
|
|
||||||
return uf_ask
|
return unicode(uf_ask)
|
||||||
|
|
||||||
def get_sorted_keys(adict):
|
def get_sorted_keys(adict):
|
||||||
keys = adict.keys()
|
keys = adict.keys()
|
||||||
|
|
Loading…
Reference in New Issue