Closed christopher-dG closed 6 years ago
Bug:
>>> scores = api.get_scores(beatmap_id=129891, username='cookiezi') >>> scores[1].score_id, scores[1].countmiss, scores[1].perfect (2266240534, 1, True) >>> scores = requests.get("https://osu.ppy.sh/api/get_scores?k=%s&u=cookiezi&b=129891" % os.environ["OSU_API_KEY"]).json() >>> scores[1]["score_id"], scores[1]["countmiss"], scores[1]["perfect"] ('2266240534', '1', '0')
Reason:
>>> bool("0") True
As an aside, this code is really easy to work with :smile:
Thanks! It looks like the other places that use bool need this too... I'll probably do that before pushing this to a release
Bug:
Reason:
As an aside, this code is really easy to work with :smile: