Skip to content

Commit a9ee904

Browse files
authored
Pep8
1 parent 23ea418 commit a9ee904

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

demos/web_arm/arm_hello.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
arm = usb_arm.Arm()
66
app = Flask(__name__)
77

8+
89
@app.route('/')
910
def flash():
10-
def inner():
11-
yield "starting</br>\n"
12-
arm.move(usb_arm.LedOn)
13-
yield "completed\n"
14-
return Response(inner())
11+
def inner():
12+
yield "starting</br>\n"
13+
arm.move(usb_arm.LedOn)
14+
yield "completed\n"
15+
return Response(inner())
16+
1517

1618
app.run(host="0.0.0.0")

0 commit comments

Comments
 (0)