| 
				
			 | 
			
			
				@@ -47,7 +47,7 @@ def response(resp): 
			 | 
		
	
		
			
			| 
				47
			 | 
			
				47
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				48
			 | 
			
				48
			 | 
			
			
				     # check if redirect comparing to the True value, 
			 | 
		
	
		
			
			| 
				49
			 | 
			
				49
			 | 
			
			
				     # because resp can be a Mock object, and any attribut name returns something. 
			 | 
		
	
		
			
			| 
				50
			 | 
			
				
			 | 
			
			
				-    if resp.is_redirect == True: 
			 | 
		
	
		
			
			| 
				
			 | 
			
				50
			 | 
			
			
				+    if resp.is_redirect is True: 
			 | 
		
	
		
			
			| 
				51
			 | 
			
				51
			 | 
			
			
				         return results 
			 | 
		
	
		
			
			| 
				52
			 | 
			
				52
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				53
			 | 
			
				53
			 | 
			
			
				     dom = html.fromstring(resp.text) 
			 |