Skip to content

Commit 5be7faf

Browse files
OvervCWrayluo
authored andcommitted
Fix typo in code
I stumbled upon this typo while investigating a different issue in this file.
1 parent f047c3a commit 5be7faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2cli/assertion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def create_normal_assertion(
116116
payload, self.key, algorithm=self.algorithm, headers=self.headers)
117117
return _str2bytes(str_or_bytes) # We normalize them into bytes
118118
except:
119-
if self.algorithm.startswith("RS") or self.algorithm.starswith("ES"):
119+
if self.algorithm.startswith("RS") or self.algorithm.startswith("ES"):
120120
logger.exception(
121121
'Some algorithms requires "pip install cryptography". '
122122
'See https://pyjwt.readthedocs.io/en/latest/installation.html#cryptographic-dependencies-optional')

0 commit comments

Comments
 (0)