summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Padilla <jpadilla@webapplicate.com>2015-10-26 15:11:53 -0400
committerJosé Padilla <jpadilla@webapplicate.com>2015-10-26 15:11:53 -0400
commitfcfa6c7ea67392f8cb81f8fdc6ace655a681ae2c (patch)
tree8eab444265995a2b290dd22db8ab4096c05dc536
parent9c551e754d3edf1d500296b172e85904dc593006 (diff)
parent756a12d736216097ef3e9d298a19a6b5de730c46 (diff)
downloadpyjwt-fcfa6c7ea67392f8cb81f8fdc6ace655a681ae2c.tar.gz
Merge pull request #188 from sampwing/master
Fixed example usage
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index fc53c1b..661af15 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ $ pip install PyJWT
>>> encoded = jwt.encode({'some': 'payload'}, 'secret', algorithm='HS256')
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzb21lIjoicGF5bG9hZCJ9.4twFt5NiznN84AWoo1d7KO1T_yoc0Z6XOpOVswacPZg'
->>> jwt.decode(encoded, 'secret'. algorithms=['HS256'])
+>>> jwt.decode(encoded, 'secret', algorithms=['HS256'])
{'some': 'payload'}
```