summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Wing <sampwing@gmail.com>2015-10-26 10:58:25 -0700
committerSam Wing <sampwing@gmail.com>2015-10-26 10:58:25 -0700
commit756a12d736216097ef3e9d298a19a6b5de730c46 (patch)
tree8eab444265995a2b290dd22db8ab4096c05dc536
parent9c551e754d3edf1d500296b172e85904dc593006 (diff)
downloadpyjwt-756a12d736216097ef3e9d298a19a6b5de730c46.tar.gz
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'}
```