From c65c659e431ec45be239f2a393112c8e5f2aaa2f Mon Sep 17 00:00:00 2001 From: Adrien Carpentier Date: Mon, 17 Jun 2024 20:28:25 +0200 Subject: [PATCH] debug --- app/matrix_bot/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/matrix_bot/config.py b/app/matrix_bot/config.py index 959dfd3..a9f779d 100644 --- a/app/matrix_bot/config.py +++ b/app/matrix_bot/config.py @@ -50,10 +50,12 @@ def __init__(self): if not self.users_path.exists(): with open(self.users_path, "w") as f: json.dump({}, f) + print(f"Created empty users file at {self.users_path}") self.users = {} else: with open(self.users_path, "r") as f: self.users: dict = json.load(f) + print(f"Successfully loaded users from {self.users_path}") def save_users(self): with open(self.users_path, "w") as f: