Skip to content

Commit

Permalink
Update log_data.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jdriscoll7 authored Apr 8, 2019
1 parent 184043e commit e68849f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion juicy/test/log_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def bulk_update_channel(write_data):
data = json.dumps({'write_api_key': THINGSPEAK_API_KEY,
'updates' : write_data[0:9]})

data = urllib.parse.urlencode(json.loads(data)).encode('UTF-8')
data = data.encode('UTF-8')

print(data)

Expand Down

0 comments on commit e68849f

Please sign in to comment.