fix: [index] skip empty description
parent
3e0afe2a84
commit
e9e3503598
|
@ -48,7 +48,7 @@ for ctype in cycat_type:
|
||||||
content = content + toindex['title']
|
content = content + toindex['title']
|
||||||
if 'raw' in toindex:
|
if 'raw' in toindex:
|
||||||
content = toindex['raw']
|
content = toindex['raw']
|
||||||
if 'description' in toindex:
|
if 'description' in toindex and toindex['description'] is not None:
|
||||||
title = title + toindex['description']
|
title = title + toindex['description']
|
||||||
content = content + toindex['description']
|
content = content + toindex['description']
|
||||||
if 'mitre-cti:description' in toindex and toindex['mitre-cti:description'] is not None:
|
if 'mitre-cti:description' in toindex and toindex['mitre-cti:description'] is not None:
|
||||||
|
|
Loading…
Reference in New Issue