diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-11 21:02:15 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-11 21:02:15 +0800 |
commit | 214aa1f5ce8d9e9b8a78b1480ec6bebbc83e988d (patch) | |
tree | aa3bbc080f26f7217f56b15176a0888f734ac05c /app | |
parent | 7132348c6c513f4f376efc416f5d641616ee23ce (diff) |
app/main.py: enlarge range.
Diffstat (limited to 'app')
-rw-r--r-- | app/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/main.py b/app/main.py index 9b51b57..89089ff 100644 --- a/app/main.py +++ b/app/main.py @@ -99,7 +99,7 @@ def get_today_article(user_word_list, articleID): for reading in result:
text_level = text_difficulty_level(reading['text'], d3)
#print('TEXT_LEVEL %4.2f' % (text_level))
- if within_range(text_level, user_level, 0.1):
+ if within_range(text_level, user_level, 0.5):
d = reading
break
|