huhamhire/huhamhire-hosts

AttributeError: 'NoneType' object has no attribute 'decode'

zhdh2008 opened this issue · 0 comments

I've downloaded the Python-Client code . But when I run setup_win.bat,some errors comes with the following description:

'e' is not recognized as an internal or external command,
operable program or batch file.
----------------- 欢迎使用 huhamhire hosts -----------------
Traceback (most recent call last):
File "D:\study\Huhamhire\Client_Python\hosts_setup_OnL.py", line 405, in
initial()
File "D:\study\Huhamhire\Client_Python\hosts_setup_OnL.py", line 40, in initia
l
print (' ----------------- 欢迎使用 huhamhire hosts ----------------

  • ').decode('utf-8').encode(type)
    AttributeError: 'NoneType' object has no attribute 'decode'