-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Encountered None value in result[8]
Traceback (most recent call last):
File "D:\ip2domain\main.py", line 201, in
printMsg(i, args.icp)
File "D:\ip2domain\main.py", line 179, in printMsg
f"\r|{rpad(result[0], 17)}|{rpad(result[1], 20)}|{rpad(' ' + str(result[2]), 18)}|{rpad(' ' + str(result[3]), 18)}|{rpad(' ' + str(result[4]), 18)}|{rpad(' ' + str(result[5]), 18)}|{rpad(' ' + str(result[6]), 18)}|{rpad(' ' + str(result[7]), 18)}|{rpad(result[8], 22)}|")
^^^^^^^^^^^^^^^^^^^
File "D:\ip2domain\main.py", line 27, in rpad
return s + (n - ww(s)) * c
^^^^^
File "D:\Python\Python312\Lib\site-packages\wcwidth\wcwidth.py", line 241, in wcswidth
end = len(pwcs) if n is None else n
^^^^^^^^^
TypeError: object of type 'NoneType' has no len()