X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=helpers%2Faction.py;h=4b5a71d3806275b5bf16198be985fda052f7b61f;hb=ea97edb3ea6fc9a222d7ec43ff517276a25c7f14;hp=6ac47b199015c61b9015e3e347c26d37a9549300;hpb=6c42e32d98aa2e04d446f31b8e667a280acf4b54;p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git 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,