Solved issue-618

Fixed #618 
You have indented the code using 4 spaces, but it's other parts are 2 spaces indented. Please be consistent and indent everything to 2 spaces.