Skip to content

Commit

Permalink
wrong call was awaited
Browse files Browse the repository at this point in the history
  • Loading branch information
Chlorophytus committed Sep 20, 2024
1 parent 4786c6e commit b85cafc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion chloresolve/chloresolve/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.4.0+rev60"
__version__ = "1.4.0+rev61"
4 changes: 2 additions & 2 deletions chloresolve/chloresolve/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@ async def wiki(args: dispatch.Arguments):
if can_use:
if len(args.chanargs) > 1:
article: str = " ".join(args.chanargs[1:])
wiki_lookup = await mediawiki.PageLookup("https://en.wikipedia.org/w/api.php")
wiki_lookup = mediawiki.PageLookup("https://en.wikipedia.org/w/api.php")
try:
description: str = wiki_lookup.query(article)
description: str = await wiki_lookup.query(article)
await args.resolver.message(args.channel, args.nickname, description)
except:
await args.resolver.message(
Expand Down

0 comments on commit b85cafc

Please sign in to comment.