Skip to content

Commit

Permalink
Fix Python Chip Controller: set pairing thread credential (#13159)
Browse files Browse the repository at this point in the history
  • Loading branch information
doublemis1 authored and pull[bot] committed Jan 4, 2022
1 parent ab3a575 commit 3635429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/python/chip-device-ctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def do_setpairingthreadcredential(self, line):
print("Usage:")
self.do_help("set-pairing-thread-credential")
return
self.devCtrl.SetThreadOperationalDataset(args[0].encode("utf-8"))
self.devCtrl.SetThreadOperationalDataset(bytes.fromhex(args[0]))
except Exception as ex:
print(str(ex))
return
Expand Down

0 comments on commit 3635429

Please sign in to comment.