Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf committed Jan 23, 2024
1 parent 2d7b8c9 commit f7c7ffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion youtube_dl/extractor/bandlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from .common import InfoExtractor

from ..utils import (
ExtractorError,
merge_dicts,
T,
traverse_obj,
Expand Down Expand Up @@ -32,7 +33,7 @@ def _real_extract(self, url):
track_url = traverse_obj(config, ('track', 'sample', 'audioUrl', T(url_or_none)))
if not track_url:
raise ExtractorError(
'[%s] 'No video formats found!' % (self.ie_key(), ),
'[%s] No video formats found!' % (self.ie_key(), ),
video_id=track_id, expected=True)
title = config['track']['name']

Expand Down

0 comments on commit f7c7ffb

Please sign in to comment.