fixed semicolon.
Cleaned up code according to PEP8.