From d4bfbc841edf110b74528343064a39128805b4b4 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 15:56:31 +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 d0cc353..812c732 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():