mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 16:57:18 +00:00
improve csv_to_galaxy 2
This commit is contained in:
parent
5b68ec56db
commit
bc05a2aeee
1 changed files with 2 additions and 1 deletions
|
@ -36,6 +36,7 @@ if __name__ == '__main__':
|
|||
temp["description"] = ""
|
||||
if args.value_description is not None:
|
||||
for i in args.value_description:
|
||||
if data[i] != "":
|
||||
temp["description"] = temp["description"] + data[i].replace('\n', ' ') + "; "
|
||||
else:
|
||||
for i in range(len(data)):
|
||||
|
|
Loading…
Reference in a new issue