Skip to content

Commit

Permalink
Merge iwctl fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bill88t committed Oct 31, 2023
2 parents 070c049 + 9a7cf49 commit e41a0d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions other/binextra/netutils/iwctl.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,18 +117,18 @@
+ " " * (13 - len(vr("secl")[vr("i")]))
+ vr("ranl")[vr("i")]
)
elif datal > 3 and data[2] == "connect":
elif vr("datal") > 3 and vr("data")[2] == "connect":
dmtex(f"Wifi: Scanning")
vr("networks", ljinux.modules["network"].scan())
if vr("data")[3] in networks:
if vr("data")[3] in vr("networks"):
vr("res", 1)
ljinux.io.ledset(1)
if vr("networks")[vr("data")[3]][0] != "OPEN":
vr(
"passwd",
cptoml.fetch(vr("data")[3], subtable="IWD"),
)
if vr("passwd") is not None:
if vr("passwd") is None:
try:
vr(
"passwd",
Expand Down

0 comments on commit e41a0d7

Please sign in to comment.