diff options
author | Matthew Garrett <mjg59@google.com> | 2019-05-18T07·10-0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-18T07·10-0700 |
commit | 3ad4a9f0f8b202863b6d33ff8a9f585ffacccf65 (patch) | |
tree | 6cc60fd6f17c725766d64c5f85078f68039f8cbb /cli | |
parent | 2b4e6d91ff0643e1bfd9cf14360f60bb79ceb4a9 (diff) | |
parent | 0db317962348907096a29bb8d3b85c6c1d0ee35e (diff) |
Merge branch 'master' into rf_experiment_v0.9
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/broadlink_cli | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/broadlink_cli b/cli/broadlink_cli index 989c6c118ba7..1c3e231d69e5 100755 --- a/cli/broadlink_cli +++ b/cli/broadlink_cli @@ -135,6 +135,7 @@ if args.learn: else ''.join(format(x, '02x') for x in bytearray(data)) if args.learn: print(learned) + print("Base64: " + base64.b64encode(learned.decode("hex"))) if args.learnfile: print("Saving to {}".format(args.learnfile)) with open(args.learnfile, "w") as text_file: |