linter change

This commit is contained in:
Matt Carvalho 2021-03-20 20:59:03 -04:00
commit e0ed56fe66

View file

@ -283,6 +283,8 @@ def get_add_to_playlist_results(response):
:param response: the response from add_playlist_items
:return: the response status and a dict that maps the videoIds to their new setVideoIds
"""
resp = [resultData.get("playlistEditVideoAddedResultData") for resultData in response.get("playlistEditResults", [])]
resp = [
resultData.get("playlistEditVideoAddedResultData")
for resultData in response.get("playlistEditResults", [])
]
return {"status": response["status"], "playlistEditResults": resp}