kuuko pushed a commit to branch master.
commit b2d5f72492abd8e0270fa4b85849c6d91e88c28e
Author: Kai Huuhko <[email protected]>
Date: Thu Apr 18 20:44:37 2013 +0000
Elementary: Fix diskselector test.
---
examples/elementary/test_diskselector.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/elementary/test_diskselector.py
b/examples/elementary/test_diskselector.py
index 953013c..e95a79d 100644
--- a/examples/elementary/test_diskselector.py
+++ b/examples/elementary/test_diskselector.py
@@ -27,7 +27,7 @@ def disk_create(win, rnd):
return di
def cb_sel(ds, item):
- print(("Selected item: %s" % (item.text)))
+ print(("Selected item: %s" % (item.text.encode("UTF-8"))))
def diskselector_clicked(obj):
--
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter