mirror of
https://gitlab.com/prpl-foundation/prplmesh/topologyviewer.git
synced 2025-12-20 00:51:07 +08:00
pylint: fix 'used before assignment'
Signed-off-by: Tucker Polomik <t.polomik@cablelabs.com>
This commit is contained in:
1
main.py
1
main.py
@@ -707,6 +707,7 @@ def update_transition_dropdown_menus(_, _type):
|
||||
"""
|
||||
placeholder = 'Select a new BSSID'
|
||||
avail_stations = [sta.get_mac() for sta in get_topology().get_stations()]
|
||||
avail_targets = []
|
||||
if _type is None or _type == 'Client Steering':
|
||||
avail_targets = [bss.get_bssid() for bss in get_topology().get_bsses()]
|
||||
elif _type == 'VBSS':
|
||||
|
||||
Reference in New Issue
Block a user