wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit 52be8779bfd0dcd18bfca82d920fcb77f504d923
parent ee9b547b38bf5158b2384fa3a1e6568e4583ffe2
Author: Kris Maglione <kris@suckless.org>
Date:   Tue, 15 Jun 2010 12:21:35 -0400

[pygmi] Make sure Ctl#ctl strings are unicode before joining them. Fixes issue #194.

Diffstat:
alternative_wmiircs/python/pygmi/fs.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/alternative_wmiircs/python/pygmi/fs.py b/alternative_wmiircs/python/pygmi/fs.py @@ -65,7 +65,7 @@ class Ctl(object): """ 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): for line in self.ctl_lines():