NGSTools icon indicating copy to clipboard operation
NGSTools copied to clipboard

baseParser crash when string starts with with "+1A" instead of "." or ","

Open inodb opened this issue 10 years ago • 0 comments

Beginning of string looks like this:

+1A..........

Since it doesn't start with a "." baseParser.py crashes with

Traceback (most recent call last):
  File "baseParser.py", line 78, in <module>
    main()
  File "baseParser.py", line 75, in main
    parseString(ref, toks[4]).__repr__()
  File "baseParser.py", line 17, in __init__
    self.process()
  File "baseParser.py", line 53, in process
    self.types[self.string[0]] += 1
TypeError: 'int' object is not iterable

inodb avatar May 20 '15 15:05 inodb