From 55e94456efd7b107058584da962b91a9d711b35d Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Mon, 18 Nov 2019 13:52:55 +0100 Subject: Fix dot 'w' open --- example/disasm/full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') 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: -- cgit 1.4.1