Mark `format_recovered` as static method
This commit is contained in:
parent
bc8a86e106
commit
0bd386384e
|
@ -319,7 +319,8 @@ class StorageStatusElement(Element):
|
|||
|
||||
return tag(p)
|
||||
|
||||
def format_recovered(self, sr, a):
|
||||
@staticmethod
|
||||
def format_recovered(sr, a):
|
||||
def maybe(d):
|
||||
if d is None:
|
||||
return "?"
|
||||
|
|
Loading…
Reference in New Issue