Switch some calls to to_stderr to report_error and report_warning

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-07-31 21:20:46 +02:00
parent 930ad9eecc
commit bbcbf4d459
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ class FFmpegExtractAudioPP(FFmpegPostProcessor):
try:
os.utime(encodeFilename(new_path), (time.time(), information['filetime']))
except:
self._downloader.to_stderr(u'WARNING: Cannot update utime of audio file')
self._downloader.report_warning(u'Cannot update utime of audio file')
information['filepath'] = new_path
return self._nopostoverwrites,information