Python 3.7 compatibility fix (format_string is now positional only)

This commit is contained in:
enkore 2018-08-06 15:27:25 +02:00 committed by GitHub
parent 35537e95eb
commit 0dad095c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ class CpuUsage(IntervalModule):
continue
core = core.replace('usage_', '')
string = self.formatter.format(format_string=self.format_all,
string = self.formatter.format(self.format_all,
core=core,
usage=usage)
core_strings.append(string)