Changed tabs to spaces

I had an “inconsistent use of tabs and spaces in indentation” error.