Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Removing lower conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
nniehoff committed May 18, 2022
1 parent dafe03d commit 8bfe409
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions nautobot_chatops_ipfabric/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,10 +689,9 @@ def wireless(dispatcher, option=None, ssid=None):
"""Get wireless information by client or ssid."""
snapshot_id = get_user_snapshot(dispatcher)
logger.debug("Getting SSIDs")
ssids = ipfabric_api.get_wireless_ssids(snapshot_id)

ssids_raw = ipfabric_api.get_wireless_ssids(snapshot_id)

if not ssids_raw:
if not ssids:
dispatcher.send_blocks(
[
*dispatcher.command_response_header(
Expand All @@ -707,8 +706,6 @@ def wireless(dispatcher, option=None, ssid=None):
)
return True

ssids = [(ssidi["wlanSsid"].lower()) for ssidi in ssids_raw]

if not option:
dispatcher.prompt_from_menu(
f"{BASE_CMD} wireless",
Expand Down

0 comments on commit 8bfe409

Please sign in to comment.