updated console
This commit is contained in:
parent
21a2d51ca8
commit
fa8338a904
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user