From 6df25c58b400be6bc1820c5e76995caac9a7576b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=80=E9=97=AE=E4=B8=89=E4=B8=8D=E7=9F=A5?=
<178428409@qq.com>
Date: Tue, 21 Mar 2023 18:57:00 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E6=BC=8F=EF=BC=8C=E4=B8=9A=E5=8A=A1?=
=?UTF-8?q?=E4=B8=AD=E7=9A=84=E4=B8=A4=E5=A4=84=E5=89=8D=E7=AB=AF=E6=A0=87?=
=?UTF-8?q?=E7=AD=BE=E4=B8=8D=E5=81=9A=E4=BF=AE=E6=94=B9=EF=BC=8C=E5=9B=A0?=
=?UTF-8?q?=E4=B8=BA=E4=B8=8D=E8=A2=AB=E4=BD=BF=E7=94=A8=E4=BA=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/user_service.py | 2 +-
app/wordfreqCMD.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/user_service.py b/app/user_service.py
index 2c91391..8944b59 100644
--- a/app/user_service.py
+++ b/app/user_service.py
@@ -92,7 +92,7 @@ def deleteword(username, word):
'''
user_freq_record = path_prefix + 'static/frequency/' + 'frequency_%s.pickle' % (username)
pickle_idea2.deleteRecord(user_freq_record, word)
- flash(f'{word} is no longer in your word list.')
+ flash(f'{word} is no longer in your word list.') # 模板 userpage_get.html 中已经没有对flash信息的获取了,就不做修改了
return "success"
diff --git a/app/wordfreqCMD.py b/app/wordfreqCMD.py
index c4f8a63..e56ba0c 100644
--- a/app/wordfreqCMD.py
+++ b/app/wordfreqCMD.py
@@ -70,7 +70,7 @@ def sort_in_ascending_order(lst):# 单词按频率降序排列
return lst2
-def make_html_page(lst, fname):
+def make_html_page(lst, fname): # 只是在wordfreqCMD.py中的main函数中调用,所以不做修改
'''
功能:把lst的信息存到fname中,以html格式。
'''