Skip to content

Commit

Permalink
Merge pull request #70 from ghostbsd/issue-66
Browse files Browse the repository at this point in the history
Fix Open_Wpa_Supplicant ssid with double quote
  • Loading branch information
ericbsd authored Jun 26, 2021
2 parents 98e700f + 94cbda6 commit 2196bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trayicon.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def setup_wpa_supplicant(self, ssid, ssid_info, pwd, card):

def Open_Wpa_Supplicant(self, ssid, card):
ws = '\nnetwork={'
ws += f'\n ssid={ssid}'
ws += f'\n ssid="{ssid}"'
ws += '\n key_mgmt=NONE\n}\n'
wsf = open("/etc/wpa_supplicant.conf", 'a')
wsf.writelines(ws)
Expand Down

0 comments on commit 2196bd2

Please sign in to comment.