Fix dockerfile being able to pass in params
Change config directory to local config_app one
This commit is contained in:
		
							parent
							
								
									acf242f241
								
							
						
					
					
						commit
						13293ecdea
					
				
					 14 changed files with 45 additions and 30 deletions
				
			
		|  | @ -3,7 +3,7 @@ import logging | |||
| from hashlib import sha1 | ||||
| 
 | ||||
| from util.config.validators import BaseValidator, ConfigValidationException | ||||
| from util.registry.torrent import jwt_from_infohash | ||||
| # from util.registry.torrent import jwt_from_infohash | ||||
| 
 | ||||
| logger = logging.getLogger(__name__) | ||||
| 
 | ||||
|  | @ -31,8 +31,8 @@ class BittorrentValidator(BaseValidator): | |||
|       'port': 80, | ||||
|     } | ||||
| 
 | ||||
|     encoded_jwt = jwt_from_infohash(params['info_hash']) | ||||
|     params['jwt'] = encoded_jwt | ||||
|     # encoded_jwt = jwt_from_infohash(params['info_hash']) | ||||
|     # params['jwt'] = encoded_jwt | ||||
| 
 | ||||
|     resp = client.get(announce_url, timeout=5, params=params) | ||||
|     logger.debug('Got tracker response: %s: %s', resp.status_code, resp.text) | ||||
|  |  | |||
		Reference in a new issue