change format erase datawipe
This commit is contained in:
parent
48604e1a8f
commit
1bdf0c8baa
|
@ -568,7 +568,7 @@ class EraseDataWipe(EraseBasic):
|
|||
def __format__(self, format_spec: str) -> str:
|
||||
v = ''
|
||||
if 't' in format_spec:
|
||||
v += '{} {}.'.format(self.type, self.severity)
|
||||
v += '{} {}. '.format(self.type, self.severity.get_public_name())
|
||||
if 's' in format_spec:
|
||||
if not self.document:
|
||||
v += 'On {}'.format(self.date_str)
|
||||
|
|
Reference in New Issue