BUG: fix syntax error in if statement
Merge pull request #5 from atmosfair/bugfix_4

BUG: fix syntax error in if statement