Python3 refix.
This commit is contained in:
parent
85d646b133
commit
8843e48bfc
|
@ -53,7 +53,7 @@ def writeGraph(attackthread,txt,fp):
|
|||
ALL = 3
|
||||
|
||||
def graphLine(txt):
|
||||
fp.write(("\t%s;\n" % (txt)).encode('utf-8'))
|
||||
fp.write("\t%s;\n" % (txt))
|
||||
|
||||
def setAttr(atxt,EdgeNodeDefAll=ALL):
|
||||
if EdgeNodeDefAll == ALL:
|
||||
|
@ -81,7 +81,7 @@ def writeGraph(attackthread,txt,fp):
|
|||
|
||||
# write all graph lines but add layout modifiers
|
||||
for l in txt.splitlines():
|
||||
fp.write(l.encode('utf-8'))
|
||||
fp.write(l)
|
||||
if l.startswith("digraph"):
|
||||
# Write additional stuff for this graph
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user