Skip to content

Refactor plugin loading handler existence checks#135

Open
itisFarzin wants to merge 2 commits into
KurimuzonAkuma:devfrom
itisFarzin:dev
Open

Refactor plugin loading handler existence checks#135
itisFarzin wants to merge 2 commits into
KurimuzonAkuma:devfrom
itisFarzin:dev

Conversation

@itisFarzin

Copy link
Copy Markdown

The current method of checking if there are handlers in a plugin is through a try-except block. By using hasattr, we can eliminate the need for the try-except.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant