1
0
Fork 0
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:
Io Mintz 2020-01-18 00:20:40 +00:00
parent 1669ab6362
commit c7c0cab64c

View file

@ -346,7 +346,7 @@ class Emotes(commands.Cog):
except aiohttp.ClientResponseError: except aiohttp.ClientResponseError:
raise raise
except aiohttp.ClientError as exc: 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))) 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)) return await validate(self.http.get(url))