mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-21 17:51:51 +00:00
Trailing whitespace
This commit is contained in:
parent
42e611088e
commit
099dcca6c4
1 changed files with 1 additions and 1 deletions
|
@ -467,7 +467,7 @@ class TwitterIE(TwitterBaseIE):
|
|||
title = re.sub(r'\s+(https?://[^ ]+)', '', description)
|
||||
if len(title) > 40:
|
||||
trim = 35
|
||||
# allow up to 10 more characters to find whitespace
|
||||
# allow up to 10 more characters to find whitespace
|
||||
m = re.search(r'\s+', title)
|
||||
if m and m.start() > 10:
|
||||
trim = m.start() + 1
|
||||
|
|
Loading…
Reference in a new issue