_python3.10/site-packages/nessus_file_reader/host/host.py", line 119, in detected_os
if """ in operating_system:
TypeError: argument of type 'NoneType' is not iterable_
Solution: Verify if is NoneType before if condition:
if operating_system is not None:
if """ in operating_system:
operating_system = str(operating_system).strip('["').strip('"]')
else:
operating_system = str(operating_system).strip('["').strip('"]')
else:
operating_system = ''
Using Python 3.10.4 in Linux:
Solution: Verify if is NoneType before if condition: