changeset 268:c8a2166e6a02

fix unicodes issues in twisted plugin
author souliane <souliane@mailoo.org>
date Thu, 12 Jun 2014 16:48:35 +0200
parents 604a92be5288
children 9df844d9d5ac
files twisted/plugins/sat_pubsub.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/twisted/plugins/sat_pubsub.py	Wed Feb 26 14:54:03 2014 +0100
+++ b/twisted/plugins/sat_pubsub.py	Thu Jun 12 16:48:35 2014 +0200
@@ -58,7 +58,7 @@
     from twisted.scripts.mktap import _tapHelper as ServiceMaker
 
 SatPubsub = ServiceMaker(
-            u"Sàt Pubsub",
+            u"Sàt Pubsub".encode('utf-8'),
             "sat_pubsub.tap",
-            u"Salut à Toi Publish-Subscribe Service Component",
+            u"Salut à Toi Publish-Subscribe Service Component".encode('utf-8'),
             "sat_pubsub")