fix very minor typo

pull/14033/head
Cactus 2 days ago
parent aea85d525e
commit 7002474336
No known key found for this signature in database

@ -2436,7 +2436,7 @@ class PlaylistEntries:
def parse_playlist_items(cls, string): def parse_playlist_items(cls, string):
for segment in string.split(','): for segment in string.split(','):
if not segment: if not segment:
raise ValueError('There is two or more consecutive commas') raise ValueError('There are two or more consecutive commas')
mobj = cls.PLAYLIST_ITEMS_RE.fullmatch(segment) mobj = cls.PLAYLIST_ITEMS_RE.fullmatch(segment)
if not mobj: if not mobj:
raise ValueError(f'{segment!r} is not a valid specification') raise ValueError(f'{segment!r} is not a valid specification')

Loading…
Cancel
Save