From be148ce8a189b4aee1e701aeed7983f7f4d7ad5a Mon Sep 17 00:00:00 2001 From: Arthur Milchior Date: Thu, 30 Jan 2020 17:04:33 -0800 Subject: [PATCH] Adding constants for buttons The point being that, when we read BUTTON_ONE, we know that the type of the element is: a button --- pylib/anki/consts.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylib/anki/consts.py b/pylib/anki/consts.py index 79763fedf..e917f6d8a 100644 --- a/pylib/anki/consts.py +++ b/pylib/anki/consts.py @@ -63,6 +63,8 @@ HELP_SITE = "http://ankisrs.net/docs/manual.html" LEECH_SUSPEND = 0 LEECH_TAGONLY = 1 +# Buttons + # Labels ##########################################################################