Your tabs and spaces must be getting mixed up. Set you editor to 4 spaces for a tab. You can also turn on whitespace indicator on the editor, which can help resolving the indentation errors.
solved Python Indentation Error when there is no indent error