fix bug in example

This commit is contained in:
onyx-and-iris 2022-10-19 13:51:25 +01:00
parent 7f1a51f86d
commit 108c327c52
2 changed files with 4 additions and 4 deletions

View File

@ -51,12 +51,12 @@ class ManyThings:
)
def other_things(self):
self.vm.bus[3].gain = -6.3
self.vm.bus[4].eq = True
info = (
f"bus 3 gain has been set to {self.vm.bus[3].gain}",
f"bus 4 eq has been set to {self.vm.bus[4].eq}",
)
self.vm.bus[3].gain = -6.3
self.vm.bus[4].eq = True
print("\n".join(info))

View File

@ -13,12 +13,12 @@ class ManyThings:
)
def other_things(self):
self.vm.bus[3].gain = -6.3
self.vm.bus[4].eq = True
info = (
f"bus 3 gain has been set to {self.vm.bus[3].gain}",
f"bus 4 eq has been set to {self.vm.bus[4].eq}",
)
self.vm.bus[3].gain = -6.3
self.vm.bus[4].eq = True
print("\n".join(info))