diff options
Diffstat (limited to 'helpers/key.py')
-rw-r--r-- | helpers/key.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers/key.py b/helpers/key.py index 5eaf481..fe82d5b 100644 --- a/helpers/key.py +++ b/helpers/key.py | |||
@@ -4,6 +4,7 @@ from kivy.clock import Clock | |||
4 | from kivy.uix.behaviors import ButtonBehavior | 4 | from kivy.uix.behaviors import ButtonBehavior |
5 | 5 | ||
6 | from .action import * | 6 | from .action import * |
7 | from . import debug_print | ||
7 | import time | 8 | import time |
8 | 9 | ||
9 | class Key(ButtonBehavior, Widget): | 10 | class Key(ButtonBehavior, Widget): |
@@ -87,7 +88,7 @@ class Key(ButtonBehavior, Widget): | |||
87 | return None | 88 | return None |
88 | 89 | ||
89 | self.parent.parent.ids['KeyList'].append(self.key_sym) | 90 | self.parent.parent.ids['KeyList'].append(self.key_sym) |
90 | print("running actions for {}".format(self.key_sym)) | 91 | debug_print("running actions for {}".format(self.key_sym)) |
91 | start_time = time.time() | 92 | start_time = time.time() |
92 | self.parent.start_running(self, start_time) | 93 | self.parent.start_running(self, start_time) |
93 | action_number = 0 | 94 | action_number = 0 |