Update Card_Hub.py
Browse files- Card_Hub.py +1 -1
Card_Hub.py
CHANGED
|
@@ -339,7 +339,7 @@ def check_api1():
|
|
| 339 |
url = "http://localhost:8003"
|
| 340 |
response = requests.get(url, timeout=30)
|
| 341 |
|
| 342 |
-
if response.status_code ==
|
| 343 |
print("Card_Hub已经启动")
|
| 344 |
break
|
| 345 |
|
|
|
|
| 339 |
url = "http://localhost:8003"
|
| 340 |
response = requests.get(url, timeout=30)
|
| 341 |
|
| 342 |
+
if response.status_code ==200:
|
| 343 |
print("Card_Hub已经启动")
|
| 344 |
break
|
| 345 |
|