Make the downloader print the name of the destination file
This commit is contained in:
		
							parent
							
								
									e5bf0f551b
								
							
						
					
					
						commit
						2130d8f6a4
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -228,6 +228,7 @@ class FileDownloader(object):
 | 
			
		|||
 | 
			
		||||
					try:
 | 
			
		||||
						filename = self._params['outtmpl'] % result
 | 
			
		||||
						self.to_stdout('[download] Destination: %s' % filename)
 | 
			
		||||
					except (ValueError, KeyError), err:
 | 
			
		||||
						retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
 | 
			
		||||
						continue
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue