diff frontends/src/quick_frontend/quick_chat.py @ 1462:c74015dc2785

quick_frontend: minor fixes
author Goffi <goffi@goffi.org>
date Sun, 16 Aug 2015 01:01:34 +0200
parents b4c49c234c6b
children 3a6cd1c14974
line wrap: on
line diff
--- a/frontends/src/quick_frontend/quick_chat.py	Sun Aug 16 01:00:54 2015 +0200
+++ b/frontends/src/quick_frontend/quick_chat.py	Sun Aug 16 01:01:34 2015 +0200
@@ -29,7 +29,7 @@
     # FIXME: to be removed when an acceptable solution is here
     unicode('') # XXX: unicode doesn't exist in pyjamas
 except (TypeError, AttributeError): # Error raised is not the same depending on pyjsbuild options
-    unicode = lambda x: str(x)
+    unicode = str
 
 
 class QuickChat(quick_widgets.QuickWidget):