X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git;a=blobdiff_plain;f=helpers%2Fkey.py;h=fe82d5bea396a9a4d31b412a483f80b29fb2d810;hp=5eaf481bea86a4d2aa962be2b4bd035a0692bc8e;hb=a24c34bc1458c4b0962773d804fac4d325632ee8;hpb=c80ff6dc4579ab28c4064576db5a4859e639c504 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 from kivy.uix.behaviors import ButtonBehavior from .action import * +from . import debug_print import time class Key(ButtonBehavior, Widget): @@ -87,7 +88,7 @@ class Key(ButtonBehavior, Widget): return None self.parent.parent.ids['KeyList'].append(self.key_sym) - print("running actions for {}".format(self.key_sym)) + debug_print("running actions for {}".format(self.key_sym)) start_time = time.time() self.parent.start_running(self, start_time) action_number = 0