[downloader/http] Simplify
[youtube-dl] / youtube_dl / downloader / rtmp.py
index 6865b5e2fb9d9e967fce3dd9f171a2c1a36f04f5..7d19bb808a820da77aeb21070ebbdec4355f6739 100644 (file)
@@ -131,7 +131,7 @@ class RtmpFD(FileDownloader):
         if play_path is not None:
             basic_args += ['--playpath', play_path]
         if tc_url is not None:
-            basic_args += ['--tcUrl', url]
+            basic_args += ['--tcUrl', tc_url]
         if test:
             basic_args += ['--stop', '1']
         if flash_version is not None: