Skip to content

Commit

Permalink
Fix for Python2 compatibility in Shrimplib
Browse files Browse the repository at this point in the history
  • Loading branch information
9seconds committed Nov 3, 2016
1 parent 5b41564 commit f139806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shrimplib/shrimplib/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class HTTPAdapter(requests.adapters.HTTPAdapter):

def add_headers(self, request, **kwargs):
request.headers["User-Agent"] = self.USER_AGENT
super().add_headers(request, **kwargs)
super(HTTPAdapter, self).add_headers(request, **kwargs)


@six.add_metaclass(abc.ABCMeta)
Expand Down

0 comments on commit f139806

Please sign in to comment.