forked from mrlan/EnglishPal
				
			Ignore words with length less than or equal to 2
							parent
							
								
									172727f95f
								
							
						
					
					
						commit
						38206271c6
					
				|  | @ -180,7 +180,7 @@ def user_mark_word(username): | ||||||
|         lst = [] |         lst = [] | ||||||
|         lst2 = [] |         lst2 = [] | ||||||
|         for word in request.form.getlist('marked'): |         for word in request.form.getlist('marked'): | ||||||
|             if not word in pickle_idea2.exclusion_lst: |             if not word in pickle_idea2.exclusion_lst and len(word) > 2: | ||||||
|                 lst.append((word, [get_time()])) |                 lst.append((word, [get_time()])) | ||||||
|                 lst2.append(word) |                 lst2.append(word) | ||||||
|         d = pickle_idea2.merge_frequency(lst, lst_history) |         d = pickle_idea2.merge_frequency(lst, lst_history) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue