diff options
Diffstat (limited to '')
-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 a4d9a20d24d7..9317cd197c21 100755 --- a/cli/broadlink_cli +++ b/cli/broadlink_cli @@ -134,6 +134,7 @@ if args.learn or args.learnfile: 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: |