0
0
Fork 0

查漏,业务中的两处前端标签不做修改,因为不被使用了

Bug509-XieQiuHan-WangZiming
王梓铭 2023-03-21 18:57:00 +08:00
parent 944c931c9b
commit 6df25c58b4
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ def deleteword(username, word):
''' '''
user_freq_record = path_prefix + 'static/frequency/' + 'frequency_%s.pickle' % (username) user_freq_record = path_prefix + 'static/frequency/' + 'frequency_%s.pickle' % (username)
pickle_idea2.deleteRecord(user_freq_record, word) pickle_idea2.deleteRecord(user_freq_record, word)
flash(f'<strong>{word}</strong> is no longer in your word list.') flash(f'<strong>{word}</strong> is no longer in your word list.') # 模板 userpage_get.html 中已经没有对flash信息的获取了就不做修改了
return "success" return "success"

View File

@ -70,7 +70,7 @@ def sort_in_ascending_order(lst):# 单词按频率降序排列
return lst2 return lst2
def make_html_page(lst, fname): def make_html_page(lst, fname): # 只是在wordfreqCMD.py中的main函数中调用所以不做修改
''' '''
功能把lst的信息存到fname中以html格式 功能把lst的信息存到fname中以html格式
''' '''