From 6bcdd0f6a28e6f24b8f56e043e0e3c0afd4b9c91 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Thu, 21 Jul 2022 22:52:14 +0100 Subject: [PATCH] fix format string --- voicemeeterlib/vban.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voicemeeterlib/vban.py b/voicemeeterlib/vban.py index 5964843..76f5cd4 100644 --- a/voicemeeterlib/vban.py +++ b/voicemeeterlib/vban.py @@ -61,7 +61,7 @@ class VbanStream(IRemote): def sr(self, val: int): opts = (11025, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000) if val not in opts: - raise VMError("Expected one of: {opts}") + raise VMError(f"Expected one of: {opts}") self.setter("sr", val) @property