Browse Source

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

master
Ricardo Garcia 14 years ago
parent
commit
5c44af1875
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube-dl

2
youtube-dl

@ -407,7 +407,7 @@ class FileDownloader(object):
self.trouble(u'ERROR: invalid system charset or erroneous output template') self.trouble(u'ERROR: invalid system charset or erroneous output template')
return return
if self.params.get('nooverwrites', False) and os.path.exists(filename): 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 return
try: try:

Loading…
Cancel
Save