NGSTools
NGSTools copied to clipboard
baseParser crash when string starts with with "+1A" instead of "." or ","
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