• indentation

Asker has an empty block (or a comment) in an if statement.
The fix is to use a pass statement