remove bool conversion

as discussed in noplay/python-mysql-replication#16
Merge pull request #65 from lxyu/master

remove bool conversion