[fix] pep8
This commit is contained in:
		
							parent
							
								
									16f2e346b3
								
							
						
					
					
						commit
						43ddbc60da
					
				| @ -33,7 +33,8 @@ def request(query, params): | |||||||
|     offset = (params['pageno'] - 1) * 10 + 1 |     offset = (params['pageno'] - 1) * 10 + 1 | ||||||
| 
 | 
 | ||||||
|     if params['language'] != 'all': |     if params['language'] != 'all': | ||||||
|         query = u'language:{} {}'.format(params['language'].split('_')[0].upper(), query.decode('utf-8')).encode('utf-8') |         query = u'language:{} {}'.format(params['language'].split('_')[0].upper(), | ||||||
|  |                                          query.decode('utf-8')).encode('utf-8') | ||||||
| 
 | 
 | ||||||
|     search_path = search_string.format( |     search_path = search_string.format( | ||||||
|         query=urlencode({'q': query}), |         query=urlencode({'q': query}), | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Adam Tauber
						Adam Tauber