Files
solidity/scripts
cameel d48883ca17 Fix crashes in prepare_report.py caused by using str where bytes is expected and vice-versa
1) `Popen.communicate()` expects `bytes` (a raw, binary string) if `stdout`/`stderr` are open in binary mode but is given output from `json.loads()` which is str (an abstract unicode string). Encoding the `str` object into `bytes` using UTF-8 encoding fixes that.
2) `REPORT_FILE` gets opened in binary mode which means that functions like `write()` expect `bytes`. We're giving them `str` which results in an error. Changed mode to text solves the problem.
2020-01-20 17:33:44 +01:00
..
2020-01-14 17:15:53 +01:00
2018-12-10 14:59:55 +01:00
2019-08-08 17:35:46 +02:00
2017-07-01 11:25:02 +01:00
2019-12-03 15:11:38 +01:00
2020-01-15 13:18:24 +00:00
2019-11-19 17:09:18 +01:00