Python None Type Comparison
Python Client Module
When comparing acnet objects to None type, we get an error because None type does not have a value.
Error: 'NoneType' object has no attribute 'value'
data_done = [None] * len(devicelist) data_done[event_response.tag] = event_response.status if data_done.count(None) == 0: #Line that gives the error.