thesadru / genshinstats

PLEASE USE GENSHIN.PY A python library that can get the stats of Genshin Impact players using Mihoyo's API. PLEASE USE GENSHIN.PY
https://thesadru.github.io/pdoc/genshinstats/
MIT License
267 stars 38 forks source link

Minor Enhancements #41

Closed HighnessAtharva closed 3 years ago

HighnessAtharva commented 3 years ago

Use implicit boolean checking. if reward is the same as if reward is not None

thesadru commented 3 years ago

It's to explicitly show that it will be None when the daily reward claiming fails.