Fix readme code samples
Merge pull request #206 from adrienbrault/patch-1

Fix readme code samples