1
0
Fork 0

fix inverted logic in RM

This commit is contained in:
Kevin Matz 2018-10-28 16:58:01 -04:00
parent bfe0898f0b
commit db0f481769
1 changed files with 1 additions and 1 deletions

View File

@ -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.")