quick_frontend: minor fixes
This commit is contained in:
parent
b747c1b733
commit
1170edc400
1 changed files with 6 additions and 5 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue