mirror of
https://github.com/onyx-and-iris/voicemeeter-api-python.git
synced 2024-11-22 11:00:47 +00:00
fix str format
This commit is contained in:
parent
86612a65cb
commit
ad69d2cf14
@ -24,7 +24,7 @@ class Event:
|
||||
@pdirty.setter
|
||||
def pdirty(self, val: bool):
|
||||
self.subs["pdirty"] = val
|
||||
self.info(f"pdirty {'added to' if val else {'removed from'}}")
|
||||
self.info(f"pdirty {'added to' if val else 'removed from'}")
|
||||
|
||||
@property
|
||||
def mdirty(self) -> bool:
|
||||
@ -33,7 +33,7 @@ class Event:
|
||||
@mdirty.setter
|
||||
def mdirty(self, val: bool):
|
||||
self.subs["mdirty"] = val
|
||||
self.info(f"mdirty {'added to' if val else {'removed from'}}")
|
||||
self.info(f"mdirty {'added to' if val else 'removed from'}")
|
||||
|
||||
@property
|
||||
def midi(self) -> bool:
|
||||
@ -42,7 +42,7 @@ class Event:
|
||||
@midi.setter
|
||||
def midi(self, val: bool):
|
||||
self.subs["midi"] = val
|
||||
self.info(f"midi {'added to' if val else {'removed from'}}")
|
||||
self.info(f"midi {'added to' if val else 'removed from'}")
|
||||
|
||||
@property
|
||||
def ldirty(self) -> bool:
|
||||
@ -51,7 +51,7 @@ class Event:
|
||||
@ldirty.setter
|
||||
def ldirty(self, val: bool):
|
||||
self.subs["ldirty"] = val
|
||||
self.info(f"ldirty {'added to' if val else {'removed from'}}")
|
||||
self.info(f"ldirty {'added to' if val else 'removed from'}")
|
||||
|
||||
def get(self) -> list:
|
||||
return [k for k, v in self.subs.items() if v]
|
||||
|
Loading…
Reference in New Issue
Block a user