Update lib.py

correction coquille
Merge pull request #1 from sebsheep/patch-1

Minor bugfix