@ -32,7 +32,6 @@ def create_playlist(request):
data = get_sheet_data(spreadsheet_id)
mapping = {}
max_index = -1
artist_names = set()
artists = []
for row in data:
@ -44,7 +43,6 @@ def create_playlist(request):
for index, heading in enumerate(row):
if heading in required_fields:
mapping[heading] = index
max_index = index
required_fields.remove(heading)
if len(required_fields) == 0:
break