mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 17:58:50 +01:00
alias list_item encode utf8
This commit is contained in:
parent
087a10da31
commit
818916e0fb
@ -73,8 +73,8 @@ class ListItem(object):
|
||||
|
||||
label_text = os.path.basename(text)
|
||||
alias_file = os.path.splitext(text)[0] + ".alias"
|
||||
if os.path.isfile(alias_file):
|
||||
fp = open(alias_file, "r")
|
||||
if os.path.isfile(alias_file.encode("utf8")):
|
||||
fp = open(alias_file.encode("utf8"), "r")
|
||||
alias = fp.read()
|
||||
fp.close()
|
||||
label_text = alias.decode("utf8")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user