core, frontends: various fixes for Libervia:
- quick_app: don't fail when we can't get autodisconnect parameter
- bridge: removed useless BridgeFrontend parent class
- use of TypeError, unicode and list to workaround Pyjamas incompatibilities
This commit is contained in:
parent
27f5dd80bf
commit
9b0542fb46
1 changed files with 13 additions and 14 deletions
|
|
@ -44,7 +44,7 @@ class ANSI(object):
|
|||
|
||||
try:
|
||||
tty = sys.stdout.isatty()
|
||||
except AttributeError:
|
||||
except (AttributeError, TypeError): # FIXME: TypeError is here for Pyjamas, need to be removed
|
||||
tty = False
|
||||
if not tty:
|
||||
# we don't want ANSI escape codes if we are not outputing to a tty!
|
||||
|
|
|
|||
Loading…
Reference in a new issue