Small tweaks for Python3 compatibility
Small tweaks for Python3 compatibility

peergradeio/rq-scheduler,cheungpat/rq-scheduler,lechup/rq-scheduler,mbodock/rq-scheduler,ihuro/rq-scheduler,ui/rq-scheduler,sum12/rq-scheduler