Explorar o código

Do not print file name on warning message (fixes issue #197)

Ricardo Garcia %!s(int64=15) %!d(string=hai) anos
pai
achega
5c44af1875
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      youtube-dl

+ 1 - 1
youtube-dl

@@ -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: