mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 23:57:06 -05:00 
			
		
		
		
	Do not print file name on warning message (fixes issue #197)
This commit is contained in:
		@@ -407,7 +407,7 @@ class FileDownloader(object):
 | 
			
		||||
			self.trouble(u'ERROR: invalid system charset or erroneous output template')
 | 
			
		||||
			return
 | 
			
		||||
		if self.params.get('nooverwrites', False) and os.path.exists(filename):
 | 
			
		||||
			self.to_stderr(u'WARNING: file exists: %s; skipping' % filename)
 | 
			
		||||
			self.to_stderr(u'WARNING: file exists and will be skipped')
 | 
			
		||||
			return
 | 
			
		||||
 | 
			
		||||
		try:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user