diff options
author | Théo de la Hogue | 2022-05-04 16:07:56 +0200 |
---|---|---|
committer | Théo de la Hogue | 2022-05-04 16:07:56 +0200 |
commit | 84dca2911026699e2c36a3add622f219721a8bf1 (patch) | |
tree | 738ae71f857f85a1717fc82c8ca25b008496b27b | |
parent | a10928dc929718873e6ee0e508bce051a19bd86a (diff) | |
download | argaze-84dca2911026699e2c36a3add622f219721a8bf1.zip argaze-84dca2911026699e2c36a3add622f219721a8bf1.tar.gz argaze-84dca2911026699e2c36a3add622f219721a8bf1.tar.bz2 argaze-84dca2911026699e2c36a3add622f219721a8bf1.tar.xz |
Exporting TimeStampedBuffer key with double quote to ease later importation.
-rw-r--r-- | src/argaze/DataStructures.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argaze/DataStructures.py b/src/argaze/DataStructures.py index b1b47f5..abd75a8 100644 --- a/src/argaze/DataStructures.py +++ b/src/argaze/DataStructures.py @@ -52,7 +52,7 @@ class TimeStampedBuffer(collections.OrderedDict): super().__setitem__(key, value) def __str__(self): - return str(dict(self)) + return json.dumps(self) def append(self, timestamped_buffer): """Append a timestamped buffer.""" |