2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-29 13:27:47 +00:00

Update dispatcher.py

This commit is contained in:
Dan 2018-11-09 09:21:01 +01:00
parent 3f0a355f7e
commit 23fd39e2c8

View File

@ -143,7 +143,9 @@ class Dispatcher:
if handler.check(update):
args = (update,)
if args is not None:
if args is None:
continue
try:
handler.callback(self.client, *args)
except Exception as e: