filetype.py
filetype.py copied to clipboard
fix(#51): reset the cursor position of stream
fix(#51): reset the cursor position of stream so be idempotent and transparent to users
@dosas I fixed it. Please review it again. Thanks
@salehdeh76 Did you see this PR https://github.com/h2non/filetype.py/pull/51/files ?
There is already an open question?
Also, a unit test is always a plus :D
This problem was solved in https://github.com/h2non/filetype.py/pull/137 and merged. You can close the PR @h2non @salehdeh76