diff --git a/voicemeeterlib/event.py b/voicemeeterlib/event.py index 6e9da2d..799ce29 100644 --- a/voicemeeterlib/event.py +++ b/voicemeeterlib/event.py @@ -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]