log clear session

This commit is contained in:
CakeCN
2025-12-11 20:46:22 +08:00
parent 97cda4031b
commit 140ece742e
3 changed files with 1 additions and 2 deletions

View File

@@ -19,6 +19,7 @@ def clear_user_session(asengine_url, asengine_token, user_id):
}
response = requests.post(clear_url, json=payload, headers=headers)
response.raise_for_status() # 检查请求是否成功
print(f"User session {user_id} cleared successfully. Response: {response.json()}")
except Exception as e:
print(f"Error clearing user session: {e}")

View File

@@ -24,7 +24,6 @@ def load_markdown_file(course_id, chapter_name, lesson_name):
break
if file_link is None:
return None
print(f"load_markdown_file: {file_link}")
return get_text_file(file_link)
def convert_markdown_to_html(md_file: str) -> str: