From 004429fae3db0a606add39137070dd3926934281 Mon Sep 17 00:00:00 2001 From: Pierre Ratinaud Date: Sun, 14 Sep 2014 12:14:01 +0200 Subject: [PATCH] ... --- layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout.py b/layout.py index 726ea9b..58dbf18 100644 --- a/layout.py +++ b/layout.py @@ -379,7 +379,7 @@ class OpenCHDS(): self.cluster_size = [] clusternames = {} for i in range(0, clnb) : - clusternames[i] = ' '.join(['%i' % i + 1, _(u'Cluster').decode('utf8'), '%i' % i + 1]) + clusternames[i] = ' '.join([u'%i' % (i + 1), _(u'Cluster').decode('utf8'), u'%i' % (i + 1)]) if os.path.exists(self.pathout['classes_names.txt']) : with codecs.open(self.pathout['classes_names.txt'], 'r', self.parent.syscoding) as f : clusternames_ = f.read() -- 2.7.4