diff options
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r-- | yt_dlp/extractor/common.py | 3 |
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' % ( |