[fix] pep8
This commit is contained in:
		
							parent
							
								
									56c15023b5
								
							
						
					
					
						commit
						cc4e17b668
					
				| @ -81,9 +81,9 @@ def response(resp): | ||||
| 
 | ||||
|         if 'description' in photo: | ||||
|             content = content +\ | ||||
|                       '<span class="description">' +\ | ||||
|                       photo['description'] +\ | ||||
|                       '</span>' | ||||
|                 '<span class="description">' +\ | ||||
|                 photo['description'] +\ | ||||
|                 '</span>' | ||||
| 
 | ||||
|         # append result | ||||
|         results.append({'url': url, | ||||
|  | ||||
| @ -65,9 +65,9 @@ def response(resp): | ||||
| 
 | ||||
|         if result.xpath(".//span") != []: | ||||
|             content = content +\ | ||||
|                       " - (" +\ | ||||
|                       result.xpath(".//span//text()")[0].strip() +\ | ||||
|                       ")" | ||||
|                 " - (" +\ | ||||
|                 result.xpath(".//span//text()")[0].strip() +\ | ||||
|                 ")" | ||||
| 
 | ||||
|         # append result | ||||
|         results.append({'url': href, | ||||
|  | ||||
| @ -2,7 +2,6 @@ import json | ||||
| from requests import get | ||||
| from urllib import urlencode | ||||
| import locale | ||||
| import time | ||||
| import dateutil.parser | ||||
| 
 | ||||
| result_count = 1 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Adam Tauber
						Adam Tauber