DebugClients/Python3/DebugClientBase.py

changeset 5184
79b3922094ba
parent 5175
9db0b0f15d12
child 5190
65a2234c6789
--- a/DebugClients/Python3/DebugClientBase.py	Wed Sep 28 20:04:44 2016 +0200
+++ b/DebugClients/Python3/DebugClientBase.py	Fri Sep 30 19:21:22 2016 +0200
@@ -352,6 +352,8 @@
                 filename = excval.filename
                 lineno = excval.lineno
                 charno = excval.offset
+                if charno is None:
+                    charno = 0
             except (AttributeError, ValueError):
                 message = ""
                 filename = ""

eric ide

mercurial