Closed benea11 closed 2 years ago
Found a scenario where there are entries in the simulated radio JSON which are have status: DELETED, but nothing else. breaks the script. Just add a if radio['status'] != 'DELETED': " line after the for loop for simulated radios.
Here's a sample JSON https://pastebin.com/hUNggjAL
(applies to this as well (maybe your others?): https://github.com/francoisverges/semfio-ekahau/blob/master/tag-antenna/tag-antenna.py)
Found a scenario where there are entries in the simulated radio JSON which are have status: DELETED, but nothing else. breaks the script. Just add a if radio['status'] != 'DELETED': " line after the for loop for simulated radios.
Here's a sample JSON https://pastebin.com/hUNggjAL
(applies to this as well (maybe your others?): https://github.com/francoisverges/semfio-ekahau/blob/master/tag-antenna/tag-antenna.py)