浏览代码

[downloader/rtmp] Fix a typo

Yen Chi Hsuan 10 年之前
父节点
当前提交
156fc83a55
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/downloader/rtmp.py

+ 1 - 1
youtube_dl/downloader/rtmp.py

@@ -131,7 +131,7 @@ class RtmpFD(FileDownloader):
         if play_path is not None:
         if play_path is not None:
             basic_args += ['--playpath', play_path]
             basic_args += ['--playpath', play_path]
         if tc_url is not None:
         if tc_url is not None:
-            basic_args += ['--tcUrl', url]
+            basic_args += ['--tcUrl', tc_url]
         if test:
         if test:
             basic_args += ['--stop', '1']
             basic_args += ['--stop', '1']
         if flash_version is not None:
         if flash_version is not None: