浏览代码

Merge branch 'master' of github.com:rg3/youtube-dl

remitamine 9 年之前
父节点
当前提交
e7d2084568
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/YoutubeDL.py

+ 1 - 1
youtube_dl/YoutubeDL.py

@@ -1631,7 +1631,7 @@ class YoutubeDL(object):
                 self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded))
                 self.report_error('content too short (expected %s bytes and served %s)' % (err.expected, err.downloaded))
                 return
                 return
 
 
-            if success:
+            if success and filename != '-':
                 # Fixup content
                 # Fixup content
                 fixup_policy = self.params.get('fixup')
                 fixup_policy = self.params.get('fixup')
                 if fixup_policy is None:
                 if fixup_policy is None: