I had to fix all the indents and spaces, but the code functions. Adding # -*- coding: utf-8 -*- to define the character set helped me figure out it was the indents.

Never shown publicly.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.