Skip to content

Commit

Permalink
remove duplicate str encode in py SetWiFiCredentials (#19792)
Browse files Browse the repository at this point in the history
  • Loading branch information
hidaris authored and pull[bot] committed Jul 31, 2023
1 parent 52af0f7 commit 1189560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/python/chip/ChipDeviceCtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def SetWiFiCredentials(self, ssid, credentials):

return self._ChipStack.Call(
lambda: self._dmLib.pychip_DeviceController_SetWiFiCredentials(
ssid.encode("utf-8"), credentials.encode("utf-8"))
ssid, credentials)
)

def SetThreadOperationalDataset(self, threadOperationalDataset):
Expand Down

0 comments on commit 1189560

Please sign in to comment.