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
265 stars 38 forks source link

Minor Enhancements #41

Closed HighnessAtharva closed 2 years ago

HighnessAtharva commented 2 years ago

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

thesadru commented 2 years ago

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