The file (I guess due to the text editor I was using) was combining tabs and spaces. I'm making all tabs into 4 spaces now.