再修改亿些细节

This commit is contained in:
w_xiaolizu
2023-06-27 11:29:35 +08:00
parent abce963099
commit 235fd44460
4 changed files with 131 additions and 16 deletions

View File

@ -649,8 +649,12 @@ def update_txt(self,
}
def txtx(f, q):
return f
def get_html(filename):
path = os.path.join(base_path, "docs/assets", "html", filename)
if os.path.exists(path):
with open(path, encoding="utf8") as file:
return file.read()
return ""
def git_log_list():