mirror of
https://github.com/0intro/wmii
synced 2024-11-22 05:42:05 +03:00
[pygmi] Make sure Ctl#ctl strings are unicode before joining them. Fixes issue #194.
This commit is contained in:
parent
ee9b547b38
commit
52be8779bf
@ -65,7 +65,7 @@ class Ctl(object):
|
|||||||
"""
|
"""
|
||||||
Arguments are joined by ascii spaces and written to the ctl file.
|
Arguments are joined by ascii spaces and written to the ctl file.
|
||||||
"""
|
"""
|
||||||
client.awrite(self.ctl_path, ' '.join(args))
|
client.awrite(self.ctl_path, u' '.join(map(unicode, args)))
|
||||||
|
|
||||||
def __getitem__(self, key):
|
def __getitem__(self, key):
|
||||||
for line in self.ctl_lines():
|
for line in self.ctl_lines():
|
||||||
|
Loading…
Reference in New Issue
Block a user