mirror of https://github.com/MISP/misp-objects
fix: missing description added in asciidoc files
parent
9410aa99a5
commit
bbf3e45649
|
@ -87,7 +87,7 @@ def asciidoc(content=False, adoc=None, t='title',title=''):
|
||||||
disableCorrelation = 'icon:check[] '
|
disableCorrelation = 'icon:check[] '
|
||||||
if 'description' in content['attributes'][v]:
|
if 'description' in content['attributes'][v]:
|
||||||
if content['attributes'][v]['description']:
|
if content['attributes'][v]['description']:
|
||||||
values = ''
|
description = '{}'.format(content['attributes'][v]['description'])
|
||||||
if 'values_list' in content['attributes'][v]:
|
if 'values_list' in content['attributes'][v]:
|
||||||
values = content['attributes'][v]['values_list']
|
values = content['attributes'][v]['values_list']
|
||||||
description = '{} {}'.format(content['attributes'][v]['description'],values)
|
description = '{} {}'.format(content['attributes'][v]['description'],values)
|
||||||
|
|
Loading…
Reference in New Issue