From 0bb34f9966d6b2905cb1018fd0b965bd3417490d Mon Sep 17 00:00:00 2001 From: Hikari Date: Sat, 23 Apr 2022 12:32:24 +0000 Subject: [PATCH] Inherit `StopLoop` from `Exception` so the python doesn't piss off --- hikka/_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hikka/_types.py b/hikka/_types.py index 2bc0ddc..cc6ea20 100644 --- a/hikka/_types.py +++ b/hikka/_types.py @@ -29,7 +29,7 @@ class LoadError(Exception): return self._error -class StopLoop: +class StopLoop(Exception): """Stops the loop, in which is raised"""