From 2031e079a2fba5d4fd00b2982008e42351e2d4a0 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 20 Sep 2024 02:00:31 +0100 Subject: [PATCH] I hate regex --- app/modules/msc_getter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/msc_getter.py b/app/modules/msc_getter.py index 2bdf147..1da5f15 100644 --- a/app/modules/msc_getter.py +++ b/app/modules/msc_getter.py @@ -117,7 +117,7 @@ class MSCGetter(niobot.Module): lines = [] for m in matches: - no = m.group(2) + no = m.group(3) if no: data = await self.get_msc_with_cache(int(no)) if data.get("error"):