Do not print file name on warning message (fixes issue #197)
[youtube-dl] / youtube-dl
index 37903362105cbcff7946a7aeb764c077540532df..9c1ead646f4d2f7fc41564728f2bf862ebc7b7c3 100755 (executable)
@@ -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: