mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 16:57:18 +00:00
fix empty meta field
This commit is contained in:
parent
4ddb598de4
commit
48a65e15a6
2 changed files with 0 additions and 2 deletions
|
@ -23,7 +23,6 @@ for element in os.listdir('.'):
|
||||||
value = {}
|
value = {}
|
||||||
value['description'] = temp['description']
|
value['description'] = temp['description']
|
||||||
value['value'] = temp['name']
|
value['value'] = temp['name']
|
||||||
value['meta'] = {}
|
|
||||||
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
||||||
values.append(value)
|
values.append(value)
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ for element in os.listdir('.'):
|
||||||
value = {}
|
value = {}
|
||||||
value['description'] = temp['description']
|
value['description'] = temp['description']
|
||||||
value['value'] = temp['name']
|
value['value'] = temp['name']
|
||||||
value['meta'] = {}
|
|
||||||
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
value['uuid'] = re.search('--(.*)$', temp['id']).group(0)[2:]
|
||||||
values.append(value)
|
values.append(value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue