not sure, but maybe line 58
except IndexError: should be at the same indentation level as line 55
try:, because dont
except go together in a way? so just select lines 58 to 60 (inclusive), and pres
shift-tab two times (
except should be at the same line as
try); maybe that could solve it...?