fix #14, python3.4 Type Error
Merge pull request #15 from liluo/issue14_type_error

fix #14, python3.4 Type Error