From 23c3daecd6f86f9dff74bda4031ef78bea1377b5 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Thu, 12 May 2022 18:46:53 -0400 Subject: [PATCH] fix comparison --- buttond.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buttond.py b/buttond.py index 0941fc7..a970c30 100755 --- a/buttond.py +++ b/buttond.py @@ -30,7 +30,7 @@ def _activate(macro): if macro is None: return macro = macro.strip('\"').upper() - if macro is "": + if macro == "": return # pass macro to baconscript print("doing macro ", macro)