From 7cecdd55b1f6bc7eb1741afc291605ef2e06729c Mon Sep 17 00:00:00 2001 From: DJDevon3 <49322231+DJDevon3@users.noreply.github.com> Date: Mon, 15 Apr 2024 13:16:13 -0400 Subject: [PATCH] added x emoji if response not ok --- examples/wifi/requests_wifi_advanced.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wifi/requests_wifi_advanced.py b/examples/wifi/requests_wifi_advanced.py index 473078a..7afc00f 100644 --- a/examples/wifi/requests_wifi_advanced.py +++ b/examples/wifi/requests_wifi_advanced.py @@ -48,7 +48,7 @@ if response.status_code == 200: print(f" | 🆗 Status Code: {response.status_code}") else: - print(f" | | Status Code: {response.status_code}") + print(f" | ❌ Status Code: {response.status_code}") print(f" | | Custom User-Agent Header: {headers['User-Agent']}") print(f" | | Content-Type: {content_type}") print(f" | | Response Timestamp: {date}")