fix json serialization

This commit is contained in:
Florian Bezannier
2020-11-26 18:30:41 +01:00
parent 40c9fd517f
commit 85be9de562
+1
View File
@@ -112,4 +112,5 @@ class ChargeControl:
def get_dict(self):
chd = copy(self.__dict__)
chd.pop("psacc")
chd.pop("thread")
return chd