Browse Source

重新上传coding

liweiquan 1 year ago
parent
commit
e5e67c6998
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/crud/programme.py

+ 1 - 1
app/crud/programme.py

@@ -125,7 +125,7 @@ def get_programme(db: Session):
 def get_programme_status(url: str):
     try:
         res_header= send_util.get_jupyter_html(url)
-        # 若为启动状态,则Server中包含Tornado,否则没有启动
+        # 若为启动状态, 则Server中包含Tornado,否则没有启动
         jupyter_status = 0 if res_header['Server'].find('Tornado') < 0 else 1
     except Exception as e:
         jupyter_status = 0