aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorRemita Amine <remitamine@gmail.com>2016-08-12 12:30:02 +0100
committerRemita Amine <remitamine@gmail.com>2016-08-12 12:30:02 +0100
commit98e698f1ff3fd467ff03e10a8f8881cd06345ca7 (patch)
tree4610c9fd83f452ede1c9e648255bc4806b70c65f /youtube_dl/utils.py
parent3cddb8d6a776b09afd7f50772fa30cb536b1149a (diff)
[external/curl] respect more downloader options and display progress
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index a03f7184d..b3b687a31 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -2410,6 +2410,8 @@ def dfxp2srt(dfxp_data):
def cli_option(params, command_option, param):
param = params.get(param)
+ if param:
+ param = compat_str(param)
return [command_option, param] if param is not None else []