mirror of https://github.com/MISP/misp-modules
Merge pull request #541 from ManoftheSea/main
It seems alright to leave the field empty, just have to check emptypull/542/head
commit
895e992349
|
@ -224,6 +224,7 @@ class CsvParser():
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def __deal_with_tags(attribute):
|
def __deal_with_tags(attribute):
|
||||||
|
if 'Tag' in attribute.keys():
|
||||||
attribute['Tag'] = [{'name': tag.strip()} for tag in attribute['Tag'].split(',')]
|
attribute['Tag'] = [{'name': tag.strip()} for tag in attribute['Tag'].split(',')]
|
||||||
|
|
||||||
def __get_score(self):
|
def __get_score(self):
|
||||||
|
|
Loading…
Reference in New Issue