[fix] replace obsolete string.join function
This commit is contained in:
		
							parent
							
								
									27e95846ea
								
							
						
					
					
						commit
						fe6e87a5a4
					
				| @ -22,7 +22,6 @@ from searx.engines import ( | |||||||
|     categories, engines, engine_shortcuts |     categories, engines, engine_shortcuts | ||||||
| ) | ) | ||||||
| import re | import re | ||||||
| import string |  | ||||||
| import sys | import sys | ||||||
| 
 | 
 | ||||||
| if sys.version_info[0] == 3: | if sys.version_info[0] == 3: | ||||||
| @ -143,7 +142,7 @@ class RawTextQuery(object): | |||||||
| 
 | 
 | ||||||
|     def getFullQuery(self): |     def getFullQuery(self): | ||||||
|         # get full querry including whitespaces |         # get full querry including whitespaces | ||||||
|         return string.join(self.query_parts, '') |         return u''.join(self.query_parts) | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class SearchQuery(object): | class SearchQuery(object): | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Adam Tauber
						Adam Tauber