work around some weird utf-8 related crash
authorMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 3 Oct 2009 20:51:07 +0000 (20:51 +0000)
committerMoritz Venn <ritzmo@users.schwerkraft.elitedvb.net>
Sat, 3 Oct 2009 20:51:07 +0000 (20:51 +0000)
growlee/src/plugin.py

index 8c35d13..1557e2a 100644 (file)
@@ -145,6 +145,7 @@ def gotNotification():
                                description = kwargs["text"]
                        else:
                                description = args[0]
+                       description = description.decode('utf-8')
 
                        growlProtocolOneWrapper.sendNotification(title="Dreambox", description=description, password=config.plugins.growlee.password.value)