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 5
5
import requests
6
6
7
7
try :
8
- from oauthlib .oauth1 import SIGNATURE_RSA_SHA512 as SIGNATURE_RSA_SHA
8
+ from oauthlib .oauth1 import SIGNATURE_RSA_SHA512 as SIGNATURE_RSA
9
9
except ImportError :
10
- from oauthlib .oauth1 import SIGNATURE_RSA_SHA
10
+ from oauthlib .oauth1 import SIGNATURE_RSA
11
11
from requests import HTTPError
12
12
from requests_oauthlib import OAuth1 , OAuth2
13
13
from six .moves .urllib .parse import urlencode
@@ -110,7 +110,7 @@ def _create_oauth_session(self, oauth_dict):
110
110
oauth = OAuth1 (
111
111
oauth_dict ["consumer_key" ],
112
112
rsa_key = oauth_dict ["key_cert" ],
113
- signature_method = SIGNATURE_RSA_SHA ,
113
+ signature_method = SIGNATURE_RSA ,
114
114
resource_owner_key = oauth_dict ["access_token" ],
115
115
resource_owner_secret = oauth_dict ["access_token_secret" ],
116
116
)
You can’t perform that action at this time.
0 commit comments