Skip to content

Commit

Permalink
Fix imports in code example
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijohn committed Nov 11, 2015
1 parent fcfa6c7 commit e71e4f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ for RSA with SHA256 and EC with SHA256 signatures.
.. code-block:: python
import jwt
import jwt.contrib.algorithms.pycrypto import RSAAlgorithm
import jwt.contrib.algorithms.py_ecdsa import ECAlgorithm
from jwt.contrib.algorithms.pycrypto import RSAAlgorithm
from jwt.contrib.algorithms.py_ecdsa import ECAlgorithm
jwt.register_algorithm('RS256', RSAAlgorithm(RSAAlgorithm.SHA256))
jwt.register_algorithm('ES256', ECAlgorithm(ECAlgorithm.SHA256))
Expand Down

0 comments on commit e71e4f3

Please sign in to comment.