mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-15 16:40:46 +00:00
fix format string
This commit is contained in:
parent
dedb93f32c
commit
6bcdd0f6a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user