about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xcli/broadlink_cli2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/broadlink_cli b/cli/broadlink_cli
index e608544364..2de44aa435 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: