DebugClients/Python/DebugBase.py

changeset 5239
27f56dc07b5b
parent 5185
a55cbfbd715e
parent 5222
6548dc1bfd48
child 5263
50a03ff54b15
--- a/DebugClients/Python/DebugBase.py	Tue Oct 11 21:55:03 2016 +0200
+++ b/DebugClients/Python/DebugBase.py	Fri Oct 14 23:02:38 2016 +0200
@@ -827,6 +827,9 @@
                     filename = excval.filename
                     lineno = excval.lineno
                     charno = excval.offset
+
+                if charno is None:
+                    charno = 0
                 
                 filename = os.path.abspath(filename)
                 realSyntaxError = os.path.exists(filename)

eric ide

mercurial