Merge pull request #5310 from achillesrasquinha/py3-returns

fix json loading for error snapshots.
This commit is contained in:
Achilles Rasquinha 2018-03-29 11:00:24 +05:30 committed by GitHub
commit ed2af1d604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,7 +157,7 @@ def collect_error_snapshots():
fullpath = os.path.join(path, fname)
try:
with open(fullpath, 'rb') as filedata:
with open(fullpath, 'r') as filedata:
data = json.load(filedata)
except ValueError: