Skip to content

Commit df2dfa3

Browse files
committed
Fix Python 2.x
1 parent 52af16b commit df2dfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httpie_aws_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __call__(self, r):
2929
# decode it here, the signature will be incorrect:
3030
# https://github.com/tax/python-requests-aws/blob/46f2e90ea48e18d8f32c6473fecdf0da4ef04847/awsauth.py#L104
3131
r.headers[k] = v.decode('utf8')
32-
return super().__call__(r)
32+
return super(BytesHeadersFriendlyS3Auth, self).__call__(r)
3333

3434

3535
class AWSAuthPlugin(AuthPlugin):

0 commit comments

Comments
 (0)