summaryrefslogtreecommitdiff
path: root/grc/gui/Utils.py
diff options
context:
space:
mode:
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)