diff sat/tools/common/data_objects.py @ 3170:39d7327583e1

core: use serialised dict for `extra` in messageNew and historyGet
author Goffi <goffi@goffi.org>
date Tue, 18 Feb 2020 18:13:17 +0100
parents 559a625a236b
children a9e8e925ad99
line wrap: on
line diff
--- a/sat/tools/common/data_objects.py	Fri Feb 14 15:18:52 2020 +0100
+++ b/sat/tools/common/data_objects.py	Tue Feb 18 18:13:17 2020 +0100
@@ -262,7 +262,7 @@
         self._message_data = msg_data[4]
         self._subject_data = msg_data[5]
         self._type = msg_data[6]
-        self._extra = msg_data[7]
+        self._extra = data_format.deserialise(msg_data[7])
         self._html = dict(data_format.getSubDict("xhtml", self._extra))
 
     @property