From e9932ffefe6df94ddfb9bcd903f74e58845bafec Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 10:12:11 +0100 Subject: [PATCH] Update add_user.py --- ollama_proxy_server/add_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ollama_proxy_server/add_user.py b/ollama_proxy_server/add_user.py index 5c0d59e..94689f2 100644 --- a/ollama_proxy_server/add_user.py +++ b/ollama_proxy_server/add_user.py @@ -17,7 +17,7 @@ def add_user(users_list=None): users_list = Path(users_list) if users_list else Path('authorized_users.txt') users_list.touch(exist_ok=True) with open(users_list, 'a') as f: - f.write(f'{user_name}: {key}\n') + f.write(f'{user_name},{key}\n') print(f'User {user_name} added to the authorized users list') def main():