aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-04-11 05:52:55 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-04-12 02:36:06 +0530
commitb31fdeedfd77af7c2274bcaf9d8bb3f84ffc6128 (patch)
treef7bad269ae926cddfb9f495c8f5b03cb6968b2dc /yt_dlp/extractor/common.py
parent8fa43c73d83619722c7e30d70247eaa9b7f52810 (diff)
downloadhypervideo-pre-b31fdeedfd77af7c2274bcaf9d8bb3f84ffc6128.tar.lz
hypervideo-pre-b31fdeedfd77af7c2274bcaf9d8bb3f84ffc6128.tar.xz
hypervideo-pre-b31fdeedfd77af7c2274bcaf9d8bb3f84ffc6128.zip
[documentation] Improvements
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 79f9c4035..4d77dba49 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -1580,7 +1580,8 @@ class InfoExtractor(object):
else None)
def print_verbose_info(self, to_screen):
- to_screen('[debug] Sort order given by user: %s' % ','.join(self._sort_user))
+ if self._sort_user:
+ to_screen('[debug] Sort order given by user: %s' % ','.join(self._sort_user))
if self._sort_extractor:
to_screen('[debug] Sort order given by extractor: %s' % ', '.join(self._sort_extractor))
to_screen('[debug] Formats sorted by: %s' % ', '.join(['%s%s%s' % (