From 1bdf0c8baa3d6fcf011f9ed2af376217acedf83c Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 13 Jun 2023 16:48:52 +0200 Subject: [PATCH] change format erase datawipe --- ereuse_devicehub/resources/action/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index fae963ae..dfa87cb5 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -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)