1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-22 07:42:22 +00:00

Make the downloader print the name of the destination file

This commit is contained in:
Ricardo Garcia 2008-07-22 15:53:22 +02:00 committed by Ricardo Garcia
parent e5bf0f551b
commit 2130d8f6a4

View file

@ -228,6 +228,7 @@ class FileDownloader(object):
try:
filename = self._params['outtmpl'] % result
self.to_stdout('[download] Destination: %s' % filename)
except (ValueError, KeyError), err:
retcode = self.trouble('ERROR: invalid output template: %s' % str(err))
continue