1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fix invalid format for values

This commit is contained in:
Steffen Vogel 2015-10-21 12:41:26 +02:00
parent ef75512e75
commit 36607c8d4c

View file

@ -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)
return cmp(self.ts, other.ts)