mirror of https://github.com/MISP/misp-galaxy
improve csv_to_galaxy 2
parent
5b68ec56db
commit
bc05a2aeee
|
@ -36,6 +36,7 @@ if __name__ == '__main__':
|
||||||
temp["description"] = ""
|
temp["description"] = ""
|
||||||
if args.value_description is not None:
|
if args.value_description is not None:
|
||||||
for i in args.value_description:
|
for i in args.value_description:
|
||||||
|
if data[i] != "":
|
||||||
temp["description"] = temp["description"] + data[i].replace('\n', ' ') + "; "
|
temp["description"] = temp["description"] + data[i].replace('\n', ' ') + "; "
|
||||||
else:
|
else:
|
||||||
for i in range(len(data)):
|
for i in range(len(data)):
|
||||||
|
|
Loading…
Reference in New Issue