Fix formatting issue in playlist manager

pull/224/head
Mike Lang 3 years ago committed by Mike Lang
parent 7d4eb3c8db
commit ac917409e4

@ -211,7 +211,7 @@ class YoutubeAPI(object):
metric_name="playlist_list", metric_name="playlist_list",
) )
if not resp.ok: if not resp.ok:
raise Exception("Failed to list {playlist} (page_token={!r}) with {resp.status_code}: {resp.content}".format( raise Exception("Failed to list {playlist} (page_token={page_token!r}) with {resp.status_code}: {resp.content}".format(
playlist=playlist, page_token=page_token, resp=resp, playlist=playlist, page_token=page_token, resp=resp,
)) ))
return resp.json() return resp.json()

Loading…
Cancel
Save