Skip to content

Commit

Permalink
Handle playlists() responses properly
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzeman committed Aug 4, 2014
1 parent 239c0d9 commit 46e7da6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spotify/hermes/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ def update_response(self, request, header, content_type, internal):
uri = request.uri
elif type(internal) is dict:
uri = internal.get('uri')
elif len(self.prepared_requests) == 1:
uri = header.uri
else:
uri = cache.get_object_uri(content_type, internal)

Expand Down

0 comments on commit 46e7da6

Please sign in to comment.