Merge pull request #457 from eReuse/bugfix/4431-certificate

change format erase datawipe
This commit is contained in:
cayop 2023-06-13 17:14:49 +02:00 committed by GitHub
commit 56e04cf7c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)