Merge pull request #457 from eReuse/bugfix/4431-certificate
change format erase datawipe
This commit is contained in:
commit
56e04cf7c5
|
@ -568,7 +568,7 @@ class EraseDataWipe(EraseBasic):
|
||||||
def __format__(self, format_spec: str) -> str:
|
def __format__(self, format_spec: str) -> str:
|
||||||
v = ''
|
v = ''
|
||||||
if 't' in format_spec:
|
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 's' in format_spec:
|
||||||
if not self.document:
|
if not self.document:
|
||||||
v += 'On {}'.format(self.date_str)
|
v += 'On {}'.format(self.date_str)
|
||||||
|
|
Reference in New Issue