diff options
Diffstat (limited to 'discord/player.py')
| -rw-r--r-- | discord/player.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/player.py b/discord/player.py index fd427193..48b702e6 100644 --- a/discord/player.py +++ b/discord/player.py @@ -144,7 +144,7 @@ class FFmpegAudio(AudioSource): executable = args.partition(' ')[0] if isinstance(args, str) else args[0] raise ClientException(executable + ' was not found.') from None except subprocess.SubprocessError as exc: - raise ClientException('Popen failed: {0.__class__.__name__}: {0}'.format(exc)) from exc + raise ClientException(f'Popen failed: {exc.__class__.__name__}: {exc}') from exc else: return process |