Qilan2 commited on
Commit
2329fdd
·
verified ·
1 Parent(s): 284ce91

Update Card_Hub.py

Browse files
Files changed (1) hide show
  1. 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 == 401:
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