Commit 517abb5e authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix bug

parent bad22dfc
Pipeline #388903 passed with stages
in 1 minute and 10 seconds
......@@ -20,6 +20,6 @@ def total(self, value):
def to_json(self):
self.__json_out = super().to_json()
if self.rpm is not None:
if self.__total is not None:
self.__json_out["total"] = self.__total
return self.__json_out
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment