From be79c1619eabb13077b510f4cacbccdfa2a013df Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 23 Nov 2024 12:41:50 +0100 Subject: [PATCH] voctogui.lib.toolbar.preview: a bit more debug logging --- voctogui/lib/toolbar/preview.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/voctogui/lib/toolbar/preview.py b/voctogui/lib/toolbar/preview.py index 7a050a24..90616e42 100644 --- a/voctogui/lib/toolbar/preview.py +++ b/voctogui/lib/toolbar/preview.py @@ -149,6 +149,7 @@ def test(self): Connection.send('best', str(self.command())) def set_command(self, command, do_test=True): + self.log.debug(f">set_command {command=} {do_test=}") self.do_test = False self.log.info("Changing new composite to '%s'", str(self.command())) if type(command) == str: @@ -162,17 +163,22 @@ def set_command(self, command, do_test=True): self.do_test = do_test self.test() self.do_test = True + self.log.debug(f"on_best {best=} {targetA=} {targetB=}") c = self.command() c.A = targetA c.B = targetB self.set_command(c, False) self.update_glow() + self.log.debug(f"on_composite {command=}") self.output = CompositeCommand.from_str(command) self.test() + self.log.debug(f"