You should set your editor to do 4 spaces when doing python. And make sure it's not doing tab spacing.