-
Notifications
You must be signed in to change notification settings - Fork 7
[WIP] Get wifi_ssid in windows #1
base: master
Are you sure you want to change the base?
[WIP] Get wifi_ssid in windows #1
Conversation
MAC install script created ".attendance" in wrong place when multiple users exist and current user is not admin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Anand,
Thanks for taking initiative having Windows support,
I have created a issue for tracking the progress at #2
# get list of wifi ssid's | ||
wifi_ssid_list = get_wifi_list() | ||
# get wifi's ssid if the platform is windows | ||
if _platform == "win32": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking how about if we add over get_wifi_list():(
def get_wifi_list(): |
instead of modifying here so we can add another condition like
if _platform == "win32":
.
.
so it will be looking uniform
@@ -4,6 +4,7 @@ | |||
import json | |||
|
|||
import requests | |||
import os |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure why there was a use to import OS now?
@@ -4,6 +4,7 @@ | |||
import json | |||
|
|||
import requests | |||
import os |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import os |
This commit shall provide you a feature to get the WIFI SSiD in windows inorder to send the request to the server.