python3 fix. #113
remove useless error check