Skip to content

Commit

Permalink
No wifi checks if disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckNorrison committed Oct 7, 2024
1 parent 5d8c014 commit c261887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def echowifi():
return jsonify(ret_data)
ret_data={}
element=request.args['element']
if element=="all":
if element=="all" and not networkmod.WIFIENDIS=="Disabled":
# get wifi list
wifilist=[]
wifilist=networkmod.wifilist_ssid(2)
Expand Down

0 comments on commit c261887

Please sign in to comment.