Skip to content

Commit 23ea418

Browse files
authored
Pep8 fixes
1 parent 2a009da commit 23ea418

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

demos/web_arm/arm_server.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222
"LedOn": usb_arm.LedOn
2323
}
2424

25+
2526
@app.route('/move', methods=['POST'])
2627
def move():
2728
pattern = movemap[request.form['pattern']]
2829

2930
def inner():
30-
yield "starting<br>\n"
31-
arm.move(pattern)
32-
yield "completed\n"
31+
yield "starting<br>\n"
32+
arm.move(pattern)
33+
yield "completed\n"
3334
return Response(inner())
3435

36+
3537
app.run(host="0.0.0.0")

0 commit comments

Comments
 (0)