diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index 87463c999b..8256d543e4 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -3485,7 +3485,7 @@ def render_table(header_row, data, delim=False, extra_gap=0, hide_empty=False): extra_gap += 1 if delim: table = [header_row, [delim * (ml + extra_gap) for ml in max_lens]] + data - table[1][-1] = table[1][-1][:-extra_gap] # Remove extra_gap from end of delimiter + table[1][-1] = table[1][-1][:-extra_gap * len(delim)] # Remove extra_gap from end of delimiter for row in table: for pos, text in enumerate(map(str, row)): if '\t' in text: