diff options
author | Daniel Høyer Iversen <mail@dahoiv.net> | 2020-03-04T21·27+0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-04T21·27+0100 |
commit | e151a14a7bea0084dcb1bb1de0ca30210b822c66 (patch) | |
tree | e30424231587059a1aab64de064e3e7d9080500a /cli/broadlink_cli | |
parent | 654db0935bf41b164bb6a1caf84d155270201dd3 (diff) |
decode is not needed for python3 (#298)
Diffstat (limited to 'cli/broadlink_cli')
-rwxr-xr-x | cli/broadlink_cli | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/broadlink_cli b/cli/broadlink_cli index e608544364a6..2de44aa4357a 100755 --- a/cli/broadlink_cli +++ b/cli/broadlink_cli @@ -226,7 +226,7 @@ if args.rfscanlearn: if args.learnfile is None: print(learned) decode_hex = codecs.getdecoder("hex_codec") - print("Base64: {}".format(str(base64.b64encode(decode_hex(learned)[0])).decode('utf8'))) + print("Base64: {}".format(str(base64.b64encode(decode_hex(learned)[0])))) if args.learnfile is not None: print("Saving to {}".format(args.learnfile)) with open(args.learnfile, "w") as text_file: |