1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 15:57:23 +00:00

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

This commit is contained in:
Ricardo Garcia 2010-09-11 09:52:25 +02:00
parent 33407be7d6
commit 5c44af1875

View file

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