X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git;a=blobdiff_plain;f=helpers%2Faction.py;h=4b5a71d3806275b5bf16198be985fda052f7b61f;hp=6ac47b199015c61b9015e3e347c26d37a9549300;hb=62a8b07a2264101fd6d9c201267966e3c5de0cd4;hpb=6c42e32d98aa2e04d446f31b8e667a280acf4b54 diff --git a/helpers/action.py b/helpers/action.py index 6ac47b1..4b5a71d 100644 --- a/helpers/action.py +++ b/helpers/action.py @@ -80,10 +80,11 @@ class Action: error_print("Unknown action {}".format(self.action)) self.fail() - def on_enter_loaded_running(self): + def on_enter_loaded_running(self, key_start_time): debug_print(self.description()) if hasattr(actions, self.action): - getattr(actions, self.action).run(self, **self.arguments) + getattr(actions, self.action).run(self, + key_start_time=key_start_time, **self.arguments) def poll_loaded(self): self.key.callback_action_ready(self,