revert sth really minor
This commit is contained in:
parent
98e66332ee
commit
7bc34a8532
|
@ -123,7 +123,7 @@ def get_jid(dirname, filename):
|
||||||
return jid
|
return jid
|
||||||
|
|
||||||
def decode_jid(string):
|
def decode_jid(string):
|
||||||
'''try to decode (to make it Unicode instance) given string'''
|
'''try to decode (to make it Unicode instance) given jid'''
|
||||||
# by the time we go to iso15 it better be the one else we show bad characters
|
# by the time we go to iso15 it better be the one else we show bad characters
|
||||||
encodings = (sys.getfilesystemencoding(), 'utf-8', 'iso-8859-15')
|
encodings = (sys.getfilesystemencoding(), 'utf-8', 'iso-8859-15')
|
||||||
for encoding in encodings:
|
for encoding in encodings:
|
||||||
|
|
Loading…
Reference in New Issue