From 53556aeba923be4a208d69163b21e81db6a16bd4 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Wed, 8 Oct 2025 17:34:06 +0200 Subject: [PATCH] Compatibility with every system --- src/todos_manager/todos_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/todos_manager/todos_manager.py b/src/todos_manager/todos_manager.py index 157724c..b016168 100644 --- a/src/todos_manager/todos_manager.py +++ b/src/todos_manager/todos_manager.py @@ -1,7 +1,7 @@ import os class TodosManager: - def __init__(self, todos_dir="compteur_electrique_data/todos/"): + def __init__(self, todos_dir=os.path.join("compteur_electrique_data", "todos")): try: os.makedirs(todos_dir, exist_ok=True) except OSError as error: