quick_frontend: minor fixes

This commit is contained in:
Goffi 2015-08-16 01:01:34 +02:00
commit 1170edc400

View file

@ -29,7 +29,7 @@ try:
# 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):