Removed else block
Merge pull request #1 from Jank1310/master

Fixed your wrong code