Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Starting in Python 3.6, Python will convert bytes to strings inside json.load, assuming UTF-8 if I understand correctly. In Python 3.5, you either need to do that yourself, or open the files as text instead of binary. So this opens all JSON files as text to fix Python 3.5 support. Although Python 3.5 went EOL a couple months ago, it was very recent, and Python 3.5 is still shipping in the Debian-based distro we are using. So probably others still have it, as well. Closes shaka-project#3004 Change-Id: I0c829fa1af6a92bcf7f40c4ca41a76de278d3eb1
- Loading branch information