From a24c34bc1458c4b0962773d804fac4d325632ee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 17 Jul 2016 17:31:07 +0200 Subject: Add debugger --- helpers/action.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'helpers/action.py') 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): -- cgit v1.2.3