Call method through self

This commit is contained in:
Jose Gracia 2023-11-22 14:46:25 +01:00
parent 4a2107d6df
commit e6b291daa7

View file

@ -104,7 +104,7 @@ class Power:
def body(self):
_body = ""
for epoch in self.epochs.items():
_body += Power.pretty_print(self.summarize_epoch(epoch))
_body += self.pretty_print(self.summarize_epoch(epoch))
return _body
def summarize_time(self, ts):