Skip to content

Commit

Permalink
Merge pull request #189 from mattijohn/master
Browse files Browse the repository at this point in the history
Fix imports in installation docs code example
  • Loading branch information
jpadilla committed Nov 11, 2015
2 parents fcfa6c7 + e71e4f3 commit fb47bd8
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 fb47bd8

Please sign in to comment.