mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 14:55:12 +00:00
Inherit from StopAsyncIteration
This commit is contained in:
@@ -17,11 +17,11 @@
|
||||
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class StopPropagation(StopIteration):
|
||||
class StopPropagation(StopAsyncIteration):
|
||||
pass
|
||||
|
||||
|
||||
class ContinuePropagation(StopIteration):
|
||||
class ContinuePropagation(StopAsyncIteration):
|
||||
pass
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user