]> git.immae.eu Git - perso/Immae/Projets/Python/MusicSampler.git/blobdiff - helpers/action.py
Add debugger
[perso/Immae/Projets/Python/MusicSampler.git] / helpers / action.py
index 1b8fc5ff53381f60fcf6bb0d0e590af3777819d0..1a2abe203567a496802824c68c1ae3113b57eb47 100644 (file)
@@ -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):