Skip to content

Commit

Permalink
Repo consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
sebkuip committed Jan 30, 2024
1 parent a7bf9e0 commit 851f823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cogs/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ async def populate_registry(self):
async with self.bot.session.get(url) as resp:
self.registry = json.loads(await resp.text())
except asyncio.TimeoutError:
logger.warn("Failed to fetch registry. Loading with empty registry")
self.registry = {}
logger.warning("Failed to fetch registry. Loading with empty registry")
self.registry = {} if not self.registry else self.registry

async def initial_load_plugins(self):
for plugin_name in list(self.bot.config["plugins"]):
Expand Down

0 comments on commit 851f823

Please sign in to comment.