File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 55import requests
66
77try :
8- from oauthlib .oauth1 import SIGNATURE_RSA_SHA512 as SIGNATURE_RSA_SHA
8+ from oauthlib .oauth1 import SIGNATURE_RSA_SHA512 as SIGNATURE_RSA
99except ImportError :
10- from oauthlib .oauth1 import SIGNATURE_RSA_SHA
10+ from oauthlib .oauth1 import SIGNATURE_RSA
1111from requests import HTTPError
1212from requests_oauthlib import OAuth1 , OAuth2
1313from six .moves .urllib .parse import urlencode
@@ -110,7 +110,7 @@ def _create_oauth_session(self, oauth_dict):
110110 oauth = OAuth1 (
111111 oauth_dict ["consumer_key" ],
112112 rsa_key = oauth_dict ["key_cert" ],
113- signature_method = SIGNATURE_RSA_SHA ,
113+ signature_method = SIGNATURE_RSA ,
114114 resource_owner_key = oauth_dict ["access_token" ],
115115 resource_owner_secret = oauth_dict ["access_token_secret" ],
116116 )
You can’t perform that action at this time.
0 commit comments