updated console

This commit is contained in:
Chris Midkiff 2020-05-27 01:23:27 -04:00
parent 21a2d51ca8
commit fa8338a904

View File

@ -5,7 +5,7 @@ while True:
choice = input('Enter Participant ID (or quit): ') choice = input('Enter Participant ID (or quit): ')
if choice == 'quit': if choice == 'quit':
break break
r = requests.post(base + '/' + device + 'Post',data={'id':choice}) r = requests.post(base + '/' + device + 'Post',params={'id':choice})
if r.status_code is 200: if r.status_code is 200:
print('Updated') print('Updated')
else: else: