From 9febd0a435af196285e00442b876d17247ad4125 Mon Sep 17 00:00:00 2001 From: Shivam Thakur <70829776+shivamcandela@users.noreply.github.com> Date: Fri, 22 Oct 2021 19:29:25 +0530 Subject: [PATCH] removed the cleanup of stations if failed to avoid TypeError: 'NoneType' object is not subscriptable --- py-scripts/sta_connect2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-scripts/sta_connect2.py b/py-scripts/sta_connect2.py index 6b8e28ab..69035d7d 100755 --- a/py-scripts/sta_connect2.py +++ b/py-scripts/sta_connect2.py @@ -311,7 +311,7 @@ class StaConnect2(LFCliBase): if self.passes() == False: if self.cleanup_on_exit: print("Cleaning up...") - self.remove_stations() + #self.remove_stations() return False # start cx traffic