Mercurial > libervia-backend
comparison 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 |
comparison
equal
deleted
inserted
replaced
1461:9fce331ba0fd | 1462:c74015dc2785 |
---|---|
27 | 27 |
28 try: | 28 try: |
29 # FIXME: to be removed when an acceptable solution is here | 29 # FIXME: to be removed when an acceptable solution is here |
30 unicode('') # XXX: unicode doesn't exist in pyjamas | 30 unicode('') # XXX: unicode doesn't exist in pyjamas |
31 except (TypeError, AttributeError): # Error raised is not the same depending on pyjsbuild options | 31 except (TypeError, AttributeError): # Error raised is not the same depending on pyjsbuild options |
32 unicode = lambda x: str(x) | 32 unicode = str |
33 | 33 |
34 | 34 |
35 class QuickChat(quick_widgets.QuickWidget): | 35 class QuickChat(quick_widgets.QuickWidget): |
36 | 36 |
37 visible_states = ['chat_state'] | 37 visible_states = ['chat_state'] |