diff options
| -rw-r--r-- | azure-pipelines.yml | 3 | ||||
| -rw-r--r-- | bot/cogs/off_topic_names.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6a63cfe21..a14364881 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -18,6 +18,9 @@ jobs: PIP_SRC: ".cache/src" steps: + - script: sudo apt-get update + displayName: 'Updating package list' + - script: sudo apt-get install build-essential curl docker libffi-dev libfreetype6-dev libxml2 libxml2-dev libxslt1-dev zlib1g zlib1g-dev displayName: 'Install base dependencies' diff --git a/bot/cogs/off_topic_names.py b/bot/cogs/off_topic_names.py index 58a53118e..2cdaa2c4f 100644 --- a/bot/cogs/off_topic_names.py +++ b/bot/cogs/off_topic_names.py @@ -86,7 +86,7 @@ class OffTopicNames: async def on_ready(self): if self.updater_task is None: coro = update_names(self.bot, self.headers) - self.updater_task = await self.bot.loop.create_task(coro) + self.updater_task = self.bot.loop.create_task(coro) @group(name='otname', aliases=('otnames', 'otn'), invoke_without_command=True) @with_role(*MODERATION_ROLES) |