Commit 9b97a8ac authored by releaser-duniter's avatar releaser-duniter
Browse files

Update test.py

parent c79042ad
......@@ -15,7 +15,7 @@ def get_current_message():
print('status: %s' % response.status)
print('headers:', response.headers)
print('body:' + response.read().decode('utf-8'))
data = json.load(response.read().decode())
data = json.load(response)
if data['release'] is None:
return False, ''
else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment