aboutsummaryrefslogtreecommitdiff
path: root/macropad.pyw
diff options
context:
space:
mode:
Diffstat (limited to 'macropad.pyw')
-rwxr-xr-xmacropad.pyw3
1 files changed, 3 insertions, 0 deletions
diff --git a/macropad.pyw b/macropad.pyw
index 87dfd40..3a3b7e2 100755
--- a/macropad.pyw
+++ b/macropad.pyw
@@ -186,6 +186,9 @@ class Application(object):
except Exception as e:
print(e)
+ """ Send the message to the endpoint.
+ If the content is the same, ignore the message and return.
+ """
def send(self, data: str):
if data == self.last_layout:
return