Skip to content

Commit 7e30fb6

Browse files
committed
change fetching json data to fetching URL
1 parent 7cecdd5 commit 7e30fb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/wifi/requests_wifi_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
# Define a custom header as a dict.
3939
headers = {"user-agent": "blinka/1.0.0"}
40-
print(" | Fetching JSON data from %s..." % JSON_GET_URL)
40+
print(f" | Fetching URL {JSON_GET_URL}")
4141

4242
# Use with statement for retreiving GET request data
4343
with requests.get(JSON_GET_URL, headers=headers) as response:

0 commit comments

Comments
 (0)