From 108c327c52ab5e189566ce713c6601364deb53be Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:51:25 +0100 Subject: [PATCH] fix bug in example --- README.md | 4 ++-- __main__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a60ef0a..70c4420 100644 --- a/README.md +++ b/README.md @@ -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)) diff --git a/__main__.py b/__main__.py index f88a41b..bef55b0 100644 --- a/__main__.py +++ b/__main__.py @@ -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))