Merge branch 'develop' into dist/risotto/risotto-2.8.0/develop

This commit is contained in:
Emmanuel Garette 2021-04-24 14:36:02 +02:00
commit 52209a5ebd
1 changed files with 5 additions and 3 deletions

View File

@ -64,10 +64,12 @@ class Logger:
d = {}
for key, value in row.items():
if key == 'data':
if not value:
if isinstance(value, dict):
pass
elif not value:
value = {}
# else:
# value = loads(value)
else:
value = loads(value)
elif key in ['start_date', 'stop_date']:
value = str(value)
d[key] = value