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

python: properly sample output by tabs instead of spaces

This commit is contained in:
Steffen Vogel 2020-07-05 13:13:30 +01:00
parent 7b62f10f12
commit 3c09488658

View file

@ -98,7 +98,7 @@ class Sample:
return Sample(ts, vs) return Sample(ts, vs)
def __str__(self): def __str__(self):
return '%s %s' % (self.ts, " ".join(map(str, self.values))) return '%s\t%s' % (self.ts, "\t".join(map(str, self.values)))
def __eq__(self, other): def __eq__(self, other):
return self.ts == other.ts return self.ts == other.ts