|  | @@ -17,6 +17,9 @@ along with searx. If not, see < http://www.gnu.org/licenses/ >.
 | 
	
		
			
			| 17 | 17 |  (C) 2013- by Adam Tauber, <asciimoo@gmail.com>
 | 
	
		
			
			| 18 | 18 |  '''
 | 
	
		
			
			| 19 | 19 |  
 | 
	
		
			
			|  | 20 | +from gevent import monkey; monkey.patch_all()
 | 
	
		
			
			|  | 21 | +
 | 
	
		
			
			|  | 22 | +
 | 
	
		
			
			| 20 | 23 |  if __name__ == '__main__':
 | 
	
		
			
			| 21 | 24 |      from sys import path
 | 
	
		
			
			| 22 | 25 |      from os.path import realpath, dirname
 | 
	
	
		
			
			|  | @@ -473,9 +476,6 @@ def favicon():
 | 
	
		
			
			| 473 | 476 |  
 | 
	
		
			
			| 474 | 477 |  
 | 
	
		
			
			| 475 | 478 |  def run():
 | 
	
		
			
			| 476 |  | -    from gevent import monkey
 | 
	
		
			
			| 477 |  | -    monkey.patch_all()
 | 
	
		
			
			| 478 |  | -
 | 
	
		
			
			| 479 | 479 |      app.run(
 | 
	
		
			
			| 480 | 480 |          debug=settings['server']['debug'],
 | 
	
		
			
			| 481 | 481 |          use_debugger=settings['server']['debug'],
 |