Skip to content

Commit 0e6180d

Browse files
committed
Fixed typo in multiple servers example
1 parent 10cfca7 commit 0e6180d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/httpserver_multiple_servers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ def home(request: Request):
4242
return Response(request, "Hello from home!")
4343

4444

45-
id_address = str(wifi.radio.ipv4_address)
45+
ip_address = str(wifi.radio.ipv4_address)
4646

4747
# Start the servers.
48-
bedroom_server.start(id_address, 5000)
49-
office_server.start(id_address, 8000)
48+
bedroom_server.start(ip_address, 5000)
49+
office_server.start(ip_address, 8000)
5050

5151
while True:
5252
try:

0 commit comments

Comments
 (0)