mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
forgot an "f" before an f-string
This commit is contained in:
parent
1669ab6362
commit
c7c0cab64c
1 changed files with 1 additions and 1 deletions
|
@ -346,7 +346,7 @@ class Emotes(commands.Cog):
|
|||
except aiohttp.ClientResponseError:
|
||||
raise
|
||||
except aiohttp.ClientError as exc:
|
||||
raise errors.EmoteManagerError('An error occurred while retrieving the file: {exc}')
|
||||
raise errors.EmoteManagerError(f'An error occurred while retrieving the file: {exc}')
|
||||
|
||||
if validate_headers: await validate(self.http.head(url, timeout=self.bot.config.get('http_head_timeout', 10)))
|
||||
return await validate(self.http.get(url))
|
||||
|
|
Loading…
Reference in a new issue