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: