about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--example/disasm/full.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/disasm/full.py b/example/disasm/full.py
index f7268ad0..a28d548e 100644
--- a/example/disasm/full.py
+++ b/example/disasm/full.py
@@ -279,7 +279,7 @@ if args.gen_ir:
             raise RuntimeError("Your graph should have only one head")
         ssa = SSADiGraph(ircfg_a)
         ssa.transform(head)
-        open("ssa.dot", "wb").write(ircfg_a.dot())
+        open("ssa.dot", "w").write(ircfg_a.dot())
 
 
 if args.propagexpr: