fixing bug

This commit is contained in:
Cayo Puigdefabregas 2021-09-20 16:16:53 +02:00
parent 899f102b73
commit 3559b98535
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ class DeviceRow(OrderedDict):
ctype, i)] = erasure.document.software ctype, i)] = erasure.document.software
self['Erasure {} {} Result'.format(ctype, i)] = get_result(erasure) self['Erasure {} {} Result'.format(ctype, i)] = get_result(erasure)
self['Erasure {} {} Certificate URL'.format( self['Erasure {} {} Certificate URL'.format(
ctype, i)] = erasure.document.url.to_text() ctype, i)] = erasure.document.url and erasure.document.url.to_text() or ''
self['Erasure {} {} Type'.format(ctype, i)] = '' self['Erasure {} {} Type'.format(ctype, i)] = ''
self['Erasure {} {} Method'.format(ctype, i)] = '' self['Erasure {} {} Method'.format(ctype, i)] = ''
self['Erasure {} {} Elapsed (hours)'.format(ctype, i)] = '' self['Erasure {} {} Elapsed (hours)'.format(ctype, i)] = ''