Skip to content

fix keyerror for hackstats#508

Merged
kwzrd merged 1 commit into
python-discord:masterfrom
hedyhli:hackstats
Oct 21, 2020
Merged

fix keyerror for hackstats#508
kwzrd merged 1 commit into
python-discord:masterfrom
hedyhli:hackstats

Conversation

@hedyhli
Copy link
Copy Markdown
Contributor

@hedyhli hedyhli commented Oct 21, 2020

Description

hot fix for the hackstats command

Reasoning

it was raising key error:
E3FA0F7C-B992-4E5A-8C49-D5B9DC984E8A

and it seems that item was wrongly passed to _is_accepted and it should be itemdict

Screenshots

now it works for users that need checking for acceptance
140C34DB-3269-466B-A40F-4B997461A08B

@hedyhli hedyhli requested a review from a team as a code owner October 21, 2020 11:14
@ghost ghost added the needs 2 approvals label Oct 21, 2020
@hedyhli hedyhli changed the title fix keyerror fix keyerror for hackstats Oct 21, 2020
@sentry
Copy link
Copy Markdown

sentry Bot commented Oct 21, 2020

Sentry issue: SEASONALBOT-1P

Copy link
Copy Markdown
Contributor

@kwzrd kwzrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick response.

@kwzrd kwzrd merged commit 8e0c0d6 into python-discord:master Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants