A Python library that provides an easy way to identify devices like mobile phones, tablets and their capabilities by parsing (browser) user agent strings.
MIT License
1.43k
stars
196
forks
source link
Small refactor to improve code style and reduce branching #112
Thanks for the great work on this project!
This is a very minor change, but it will prevent 3x branches, and make the code slightly cleaner :)