Skip to content

Commit

Permalink
Remove encode in JSON parser (solana-labs#20489)
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinSekar authored Oct 6, 2021
1 parent 5ceb5ef commit 00929f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system-test/testnet-automation-json-parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
if 'results' in data:
for result in data['results']:
if 'series' in result:
print(result['series'][0]['columns'][1].encode() + ': ' + str(result['series'][0]['values'][0][1]))
print(result['series'][0]['columns'][1] + ': ' + str(result['series'][0]['values'][0][1]))
else:
print("An expected result from CURL request is missing")
else:
Expand Down

0 comments on commit 00929f8

Please sign in to comment.