X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git;a=blobdiff_plain;f=helpers%2Faction.py;h=6ac47b199015c61b9015e3e347c26d37a9549300;hp=1f374ec6a4ffb843e8e938b27fb85b61a0a611f4;hb=6c42e32d98aa2e04d446f31b8e667a280acf4b54;hpb=343822904ee26955e622e325539c64aee1c2112e diff --git a/helpers/action.py b/helpers/action.py index 1f374ec..6ac47b1 100644 --- a/helpers/action.py +++ b/helpers/action.py @@ -72,7 +72,8 @@ class Action: def on_enter_loading(self): if hasattr(actions, self.action): if 'music' in self.arguments: - self.arguments['music'].subscribe_loaded(self.callback_music_loaded) + self.arguments['music'].subscribe_loaded( + self.callback_music_loaded) else: self.success() else: