Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update remove_error_handler.py
  • Loading branch information
lrdcxdes authored Mar 22, 2023
commit e7ec3b8a497cd9dfa42f3654382f589340b64d83
2 changes: 1 addition & 1 deletion pyrogram/methods/utilities/remove_error_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ def remove_error_handler(
The error(s) for handlers to be removed.
"""
for handler in self.dispatcher.error_handlers:
if await handler.check_remove(error):
if handler.check_remove(error):
self.dispatcher.error_handlers.remove(handler)