Skip to content

Commit

Permalink
change fetching json data to fetching URL
Browse files Browse the repository at this point in the history
  • Loading branch information
DJDevon3 committed Apr 15, 2024
1 parent 7cecdd5 commit 7e30fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wifi/requests_wifi_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

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

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

0 comments on commit 7e30fb6

Please sign in to comment.