mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 00:37:18 +00:00
fix: [graph.py] small fix to make it work
This commit is contained in:
parent
1276d834dd
commit
ca1bc24f65
1 changed files with 7 additions and 7 deletions
|
@ -189,7 +189,7 @@ elif args.all:
|
|||
# dg.source = '\n'.join(dot)
|
||||
|
||||
dg = Digraph(format='png', body=dot)
|
||||
# print(dg.source)
|
||||
dg.render(engine='dot', filename='graphs/{}'.format(uuid), cleanup=False)
|
||||
#print(dg.source)
|
||||
dg.render(filename='graphs/{}'.format(uuid))
|
||||
else:
|
||||
exit("No parameters given, use --help for more info.")
|
||||
|
|
Loading…
Reference in a new issue