diff -r b8b47f9b5e56 -r 396da88d7b5c svgui/pyjs/lib/pyjslib.py --- a/svgui/pyjs/lib/pyjslib.py Fri Sep 22 10:57:57 2017 +0300 +++ b/svgui/pyjs/lib/pyjslib.py Fri Sep 22 16:37:38 2017 +0300 @@ -987,7 +987,7 @@ def ord(x): - if(isString(x) and len(x) is 1): + if isString(x) and len(x) is 1: JS(""" return x.charCodeAt(0); """)