Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 35 |
return one
|
| 36 |
-
if servo
|
| 37 |
return two
|
| 38 |
-
if servo
|
| 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__':
|