From db0f481769f26a68ff208cce12ae9c9874457c67 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Sun, 28 Oct 2018 16:58:01 -0400 Subject: [PATCH] fix inverted logic in RM --- OscCommentMacroListener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OscCommentMacroListener.py b/OscCommentMacroListener.py index 723c8f7..5940676 100644 --- a/OscCommentMacroListener.py +++ b/OscCommentMacroListener.py @@ -163,7 +163,7 @@ class OscCommentMacroListener(CommentMacroListener): self.osc.button_press(ctx.device(), "/hog/hardware/assert") def exitMasterRelease(self, ctx: CommentMacroParser.MasterReleaseContext): - if ctx.target()is None: + if ctx.target() is not None: logger.error("ERROR: limited to releasing current master only.") return logger.info("RELEASE on current master.")