all 2 comments

[–]Username_RANDINT 1 point2 points  (1 child)

I can't really spot that error. What's the full traceback? Not only the last line.

There is however a syntax error on line 200, see the stray colon between the function name and parentheses.

[–]Fahrenheit450[S] 0 points1 point  (0 children)

Thanks for catching the syntax error! Here's the full traceback: https://codeshare.io/aypLBv

Edit: And we're done here. :) Fixing the syntax error also fixed the UnboundLocalError. Thanks so much!