Skip to content

Commit

Permalink
Merge pull request #13 from PAGpK/main
Browse files Browse the repository at this point in the history
Second correction for issue #123
  • Loading branch information
MkLHX authored May 31, 2022
2 parents d156d9a + 9b34178 commit e70dedc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions GreenPonik_BLE/gattserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,7 @@ def __init__(self, index):
elif "psk" in x:
self.pwd = x.split('"')[-2]
elif "country" in x:
self.country = x.split('=')[-1]
self.ssid = "ssid_init"
self.pwd = "pwd_init"
self.country = "country_init"
self.country = x.split('=')[-1].strip('\n')
self.wifichange = False
Service.__init__(self, index, self.JSON_SVC_UUID, True)
self.add_characteristic(JsonCharacteristic(self))
Expand Down

0 comments on commit e70dedc

Please sign in to comment.