Update idx_parser.py

Small fix for unsupported version.