summaryrefslogtreecommitdiff
path: root/grc/gui/Utils.py
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2016-10-14 14:21:07 -0400
committerBen Hilburn <ben.hilburn@ettus.com>2016-10-17 17:07:23 -0400
commitbc4e0b3ba71250d92a7f45a036bcae7f5589e1a6 (patch)
treee2c7aee9699b8d87b5d9ee3b6d04ed7321e48484 /grc/gui/Utils.py
parent1624da7772f1ff57232e2f2024281547d483629c (diff)
Backport GRC Python code for Python-2.6.6+
Diffstat (limited to 'grc/gui/Utils.py')
-rw-r--r--grc/gui/Utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grc/gui/Utils.py b/grc/gui/Utils.py
index 51b9b19e9f..80dcb4283a 100644
--- a/grc/gui/Utils.py
+++ b/grc/gui/Utils.py
@@ -97,7 +97,7 @@ def encode(value):
character.
"""
- valid_utf8 = value.decode('utf-8', errors='replace').encode('utf-8')
+ valid_utf8 = value.decode('utf-8', 'replace').encode('utf-8')
return gobject.markup_escape_text(valid_utf8)