Explorar el Código

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

Ricardo Garcia hace 15 años
padre
commit
5c44af1875
Se han modificado 1 ficheros con 1 adiciones y 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: