From 486e0a9d06e43f3b8669471bef13a5eeedbda4c6 Mon Sep 17 00:00:00 2001 From: Seth Hitefield <sdhitefield@gmail.com> Date: Wed, 3 May 2017 07:06:54 -0700 Subject: grc: gtk3: Converted actions to Gio.Action instead of Gtk.Action --- grc/core/ParseXML.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grc/core/ParseXML.py') diff --git a/grc/core/ParseXML.py b/grc/core/ParseXML.py index 163289ba06..430ba5b474 100644 --- a/grc/core/ParseXML.py +++ b/grc/core/ParseXML.py @@ -156,7 +156,7 @@ def to_file(nested_data, xml_file): ), xml_declaration=True, pretty_print=True, encoding='utf-8') xml_data += etree.tostring(_to_file(nested_data)[0], pretty_print=True, encoding='utf-8') - with open(xml_file, 'w') as fp: + with open(xml_file, 'wb') as fp: fp.write(xml_data) -- cgit v1.2.3