From 36607c8d4ce1f7885e5088f1f7f282fcb3952c61 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 21 Oct 2015 12:41:26 +0200 Subject: [PATCH] fix invalid format for values --- contrib/python/s2ss/msg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/python/s2ss/msg.py b/contrib/python/s2ss/msg.py index a7cb0dada..1905fc77a 100644 --- a/contrib/python/s2ss/msg.py +++ b/contrib/python/s2ss/msg.py @@ -18,7 +18,7 @@ class Message: return Message(t, v, source) def __str__(self): - return '%s %s' % (self.ts, self.values) + return '%s %s' % (self.ts, " ".join(map(str, self.values))) def __cmp__(self, other): - return cmp(self.ts, other.ts) \ No newline at end of file + return cmp(self.ts, other.ts)