summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-10 22:21:15 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-10 22:21:15 +0800
commit92544e7577ae3065d0d100b08f84016a4503d0f0 (patch)
treeb93eaa8df6c00f41d2a9879d2efb8d38c178b084 /app
parent6c1ae82abbc50fbae55e6a506625dc8a0340fda5 (diff)
app/main.py: usename is passed from the function argument list.
Diffstat (limited to 'app')
-rw-r--r--app/main.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py
index 75a949d..f0e7b34 100644
--- a/app/main.py
+++ b/app/main.py
@@ -169,7 +169,6 @@ def get_answer_part(s):
@app.route("/<username>/reset", methods=['GET', 'POST'])
def user_reset(username):
- username = session[username]
user_freq_record = path_prefix + 'static/frequency/' + 'frequency_%s.pickle' % (username)
if request.method == 'POST':
session.pop('article', None)