Skip to content

Commit a10ef7a

Browse files
tests
1 parent c069f3a commit a10ef7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

smda/common/SmdaReport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def toDict(self) -> dict:
293293
"status": self.status,
294294
"timestamp": self.timestamp.strftime("%Y-%m-%dT%H-%M-%S"),
295295
"xcfg": {function_addr: smda_function.toDict() for function_addr, smda_function in self.xcfg.items()},
296-
"xheader": self.xheader.hex(),
296+
"xheader": self.xheader.hex() if self.xheader else "",
297297
}
298298

299299
@classmethod

0 commit comments

Comments
 (0)