Skip to content

Commit dce7533

Browse files
committed
Fixed an oversight
1 parent 2171c30 commit dce7533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/plugins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ async def download_initial_plugins(self):
6464
except DownloadError as exc:
6565
msg = f'{parsed_plugin[0]}/{parsed_plugin[1]} - {exc}'
6666
logger.error(error(msg))
67-
await async_all(env() for env in self.bot.extra_events['on_plugin_ready'])
67+
await async_all(env() for env in self.bot.extra_events.get('on_plugin_ready', []))
6868
logger.debug(info('on_plugin_ready called.'))
6969

7070
async def download_plugin_repo(self, username, repo):

0 commit comments

Comments
 (0)