146c146
< 			if eqi[1][-1] == ';':
---
> 			if eqi[1] and eqi[1][-1] == ';':
