diff --git a/generate_compressor_model.py b/generate_compressor_model.py index a4ea0da..bf18164 100755 --- a/generate_compressor_model.py +++ b/generate_compressor_model.py @@ -384,7 +384,7 @@ def main(): print(out) else: with open(args.output, "wb") as f: - f.write(out) + f.write(out.encode()) log("done.") if __name__ == "__main__":