本地环境python 3.5.2发现运行有错误,稍微改了下代码,使它能在python3下运行
git checkout master
git pull https://gitee.com/wfifi/ip2region.git master
git push origin master