WillemVH commited on
Commit
8f0419d
·
verified ·
1 Parent(s): fe4cd68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -31,11 +31,11 @@ def apirequests():
31
  servolist = get_servo_list(id)
32
  one, two, three = servolist.split(',')
33
  #split it up ^
34
- if servo = 1
35
  return one
36
- if servo = 2
37
  return two
38
- if servo = 3
39
  return three
40
  # ^ identify the servo
41
  if __name__ == '__main__':
 
31
  servolist = get_servo_list(id)
32
  one, two, three = servolist.split(',')
33
  #split it up ^
34
+ if servo == 1
35
  return one
36
+ if servo == 2
37
  return two
38
+ if servo == 3
39
  return three
40
  # ^ identify the servo
41
  if __name__ == '__main__':