Fix MSC search yielding bad thingy
This commit is contained in:
parent
cace903669
commit
d1efcf91f1
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class MSCGetter(niobot.Module):
|
||||||
msg = await ctx.respond("Searching for relevant MSCs with query %r..." % number_or_query[1:])
|
msg = await ctx.respond("Searching for relevant MSCs with query %r..." % number_or_query[1:])
|
||||||
results = await self.search_for_msc(number_or_query[1:])
|
results = await self.search_for_msc(number_or_query[1:])
|
||||||
if not results:
|
if not results:
|
||||||
await msg.edit("No MSCs matched your query.")
|
return await msg.edit("No MSCs matched your query.")
|
||||||
|
|
||||||
lines = []
|
lines = []
|
||||||
for pr in results:
|
for pr in results:
|
||||||
|
|
Loading…
Reference in a new issue