From ac7dc7aef63bf0b9037c662d2d7cea8e4d69bf29 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 16 Jan 2024 11:33:02 +0100 Subject: [PATCH] Update main.py --- ollama_proxy_server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ollama_proxy_server/main.py b/ollama_proxy_server/main.py index b8b14fb..b0cf108 100644 --- a/ollama_proxy_server/main.py +++ b/ollama_proxy_server/main.py @@ -46,7 +46,7 @@ def main(): class RequestHandler(BaseHTTPRequestHandler): def add_access_log_entry(self, user, ip_address, access, server): - log_file_path = args.log_path + log_file_path = Path(args.log_path) if not log_file_path.exists(): with open(log_file_path, mode='w', newline='') as csvfile: