Merge branch 'master' into rf_experiment_v0.9

This commit is contained in:
Matthew Garrett 2019-05-18 00:10:40 -07:00 committed by GitHub
commit 3ad4a9f0f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -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: