Skip to content

Instantly share code, notes, and snippets.

Created July 8, 2012 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3070617 to your computer and use it in GitHub Desktop.
Save anonymous/3070617 to your computer and use it in GitHub Desktop.
utf8_fix.patch
--- a/src/firewall-applet
+++ b/src/firewall-applet
@@ -442,7 +442,7 @@ class TrayApplet(object):
a.get_connection())
connection = obj.GetSettings()['connection']['id']
for dev in a.get_devices():
- self.connections[dev.get_iface()] = connection
+ self.connections[dev.get_iface()] = connection.encode("utf-8")
except Exception as msg:
print(msg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment