bugfix
This commit is contained in:
parent
2604012e16
commit
b1cf7464ab
@ -72,8 +72,9 @@ class BaseProcessor:
|
|||||||
self.content = json.dumps(self.content,
|
self.content = json.dumps(self.content,
|
||||||
indent=4)
|
indent=4)
|
||||||
elif isinstance(self.content,DictObject):
|
elif isinstance(self.content,DictObject):
|
||||||
self.content = json.dumps(self.content,
|
mydict = self.content.to_dict()
|
||||||
indent=4)
|
print('mydict=',mydict,type(mydict))
|
||||||
|
self.content = json.dumps(mydict, indent=4)
|
||||||
elif type(self.content) == type([]):
|
elif type(self.content) == type([]):
|
||||||
self.content = json.dumps(self.content,
|
self.content = json.dumps(self.content,
|
||||||
indent=4)
|
indent=4)
|
||||||
|
Loading…
Reference in New Issue
Block a user