Line 6 has a tabulator instead of four spaces.
Line 7 is missing a colon at the end.
Aaand that's it, I think.
Bit spammy from me but it's all constructive, I hope.
Perhaps I'll soon have time and inclination to finally play rather than just kinda play with the menus ;P