From 7ec0e11938116e693b1d33ff923686cd5c5e7c8b Mon Sep 17 00:00:00 2001 From: Lucas Armand Date: Mon, 17 Nov 2025 10:46:09 -0800 Subject: [PATCH] add await --- lib/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend.py b/lib/backend.py index 7ac43ed..ade7d48 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -419,7 +419,7 @@ class Backend: log.debug(f"tailing file: {self.model_log_file}") async with await open_file(self.model_log_file, mode="r", encoding='utf-8', errors='ignore') as f: try: - f.seek(0) + await f.seek(0) except: pass while True: