From 1936d2aec5327c1e8ea30c0eaa46f47e0e9fec4f Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Sat, 31 Jul 2021 21:02:17 +0800 Subject: [PATCH] app/main.py: use alert while showing vocabulary level. --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 6049ba6..2f8822a 100644 --- a/app/main.py +++ b/app/main.py @@ -110,7 +110,7 @@ def get_today_article(user_word_list, articleID): d = reading break - s = '

According to your word list, your level is %4.2f and we have chosen an article with a difficulty level of %4.2f for you.

' % (user_level, text_level) + s = '' % (user_level, text_level) s += '

%s

' % (d['date']) s += '

%s

' % (d['text']) s += '

%s

' % (d['source'])