Spaces:
Sleeping
Sleeping
Update tools/flight_status.py
Browse files- tools/flight_status.py +1 -1
tools/flight_status.py
CHANGED
@@ -32,7 +32,7 @@ class FlightStatus(Tool):
|
|
32 |
# Send a GET request to the AviationStack API
|
33 |
response = requests.get(base_url, params=params)
|
34 |
|
35 |
-
Check if the request was successful
|
36 |
if response.status_code == 200:
|
37 |
data = response.json()
|
38 |
|
|
|
32 |
# Send a GET request to the AviationStack API
|
33 |
response = requests.get(base_url, params=params)
|
34 |
|
35 |
+
#Check if the request was successful
|
36 |
if response.status_code == 200:
|
37 |
data = response.json()
|
38 |
|