X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPython%2FMusicSampler.git;a=blobdiff_plain;f=helpers%2Faction.py;h=1a2abe203567a496802824c68c1ae3113b57eb47;hp=1b8fc5ff53381f60fcf6bb0d0e590af3777819d0;hb=a24c34bc1458c4b0962773d804fac4d325632ee8;hpb=c80ff6dc4579ab28c4064576db5a4859e639c504 diff --git a/helpers/action.py b/helpers/action.py index 1b8fc5f..1a2abe2 100644 --- a/helpers/action.py +++ b/helpers/action.py @@ -1,6 +1,8 @@ import threading import time +from . import debug_print + class Action: action_types = [ 'command', @@ -32,7 +34,7 @@ class Action: return True def run(self): - print(self.description()) + debug_print(self.description()) getattr(self, self.action)(**self.arguments) def description(self):