Skip to content
Verified Commit 19b01d7e authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

reproducible opensuse: try decoding the input before giving it to json



Traceback (most recent call last):
  File "./reproducible_opensuse_import_json.py", line 22, in <module>
    ostatus = json.loads(ofile)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 9704f222
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment