From 27044b88c478328ab59c1253eaa8c7e542bbdc3c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 17 Apr 2024 12:15:55 +0200 Subject: [PATCH] switch-jack: fix logging --- nonstop/management/commands/switch-jack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonstop/management/commands/switch-jack.py b/nonstop/management/commands/switch-jack.py index 83580b1..71bd78c 100644 --- a/nonstop/management/commands/switch-jack.py +++ b/nonstop/management/commands/switch-jack.py @@ -51,7 +51,7 @@ class Command(BaseCommand): continue if msg.get('active') != self.currently_active: self.currently_active = msg.get('active') - logger.info('setting source: %s', active) + logger.info('setting source: %s', self.currently_active) self.update_jack_connections(self.currently_active) elif msg.type == aiohttp.WSMsgType.ERROR: break -- 2.39.2