From e2d9163f8adf27f02033fa836cf0a7f5cfe722f8 Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Wed, 4 Feb 2026 09:07:40 -0500 Subject: [PATCH] [FIX] todo.py check using cmd_source_default before crash --- script/todo/todo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/todo/todo.py b/script/todo/todo.py index f2a6f04..8bceb5c 100755 --- a/script/todo/todo.py +++ b/script/todo/todo.py @@ -856,7 +856,7 @@ class TODO: commande = ( f"source ./.venv.{source_odoo}/bin/activate && {commande}" ) - elif new_window: + elif new_window and self.cmd_source_default: commande = self.cmd_source_default % commande print("🏠 ⬇ Execute command :")