From a4339bd3f1ba2752ad166131eab8809691551510 Mon Sep 17 00:00:00 2001 From: Lucas Armand Date: Wed, 12 Nov 2025 16:10:55 -0800 Subject: [PATCH] hotfix: add f --- lib/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend.py b/lib/backend.py index bf1d746..19764bd 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -417,7 +417,7 @@ class Backend: async def tail_log(): log.debug(f"tailing file: {self.model_log_file}") - async with await open_file(self.model_log_file, encoding='utf-8', errors='ignore'): + async with await open_file(self.model_log_file, encoding='utf-8', errors='ignore') as f: while True: line = await f.readline() if line: