Correct indentation in python sample code

Two lines where using tabs instead of spaces, causing indentation to be wrong.