Switch some calls to to_stderr to report_error and report_warning
[youtube-dl] / youtube_dl / PostProcessor.py
index 8c5e5399177458d9cb7e0fe8ffa5b3c873634729..4f0a165ba6384dee290077cc418791daabd9187b 100644 (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