I hate regex
This commit is contained in:
parent
d6ed860bc3
commit
2031e079a2
1 changed files with 1 additions and 1 deletions
|
@ -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"):
|
||||
|
|
Loading…
Reference in a new issue