For both .py files, it seems like your editor is indenting with tabs (\t). I would highly recommend switching it to whitespaces instead. I personally prefer 4 whitespaces per indentation, but 2 is good as well. 

The reason for that is that different editors render the tab character (\t) differently, while whitespaces are better behaved.