查漏,业务中的两处前端标签不做修改,因为不被使用了
							parent
							
								
									944c931c9b
								
							
						
					
					
						commit
						6df25c58b4
					
				|  | @ -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" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -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格式。 | ||||||
|     ''' |     ''' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue