summaryrefslogtreecommitdiff
path: root/grc/core/ParseXML.py
diff options
context:
space:
mode:
authorSeth Hitefield <sdhitefield@gmail.com>2017-05-03 07:06:54 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-05-03 07:07:59 -0700
commit486e0a9d06e43f3b8669471bef13a5eeedbda4c6 (patch)
tree7d35c5e7fd530f7ff420b9d3bb77ff5fc9fb2ecf /grc/core/ParseXML.py
parent97b842874193394285ca4cdc11da381647c285fd (diff)
grc: gtk3: Converted actions to Gio.Action instead of Gtk.Action
Diffstat (limited to 'grc/core/ParseXML.py')
-rw-r--r--grc/core/ParseXML.py2
1 files changed, 1 insertions, 1 deletions
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)