Python 3.7 compatibility fix (format_string is now positional only)
This commit is contained in:
parent
35537e95eb
commit
0dad095c07
@ -85,7 +85,7 @@ class CpuUsage(IntervalModule):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
core = core.replace('usage_', '')
|
core = core.replace('usage_', '')
|
||||||
string = self.formatter.format(format_string=self.format_all,
|
string = self.formatter.format(self.format_all,
|
||||||
core=core,
|
core=core,
|
||||||
usage=usage)
|
usage=usage)
|
||||||
core_strings.append(string)
|
core_strings.append(string)
|
||||||
|
Loading…
Reference in New Issue
Block a user