Skip to content

Commit

Permalink
Fixed an oversight
Browse files Browse the repository at this point in the history
  • Loading branch information
Taaku18 committed May 13, 2019
1 parent 2171c30 commit dce7533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cogs/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async def download_initial_plugins(self):
except DownloadError as exc:
msg = f'{parsed_plugin[0]}/{parsed_plugin[1]} - {exc}'
logger.error(error(msg))
await async_all(env() for env in self.bot.extra_events['on_plugin_ready'])
await async_all(env() for env in self.bot.extra_events.get('on_plugin_ready', []))
logger.debug(info('on_plugin_ready called.'))

async def download_plugin_repo(self, username, repo):
Expand Down

0 comments on commit dce7533

Please sign in to comment.