add await

This commit is contained in:
Lucas Armand
2025-11-17 10:46:09 -08:00
parent 191fbbfe18
commit 7ec0e11938
+1 -1
View File
@@ -419,7 +419,7 @@ class Backend:
log.debug(f"tailing file: {self.model_log_file}") 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: async with await open_file(self.model_log_file, mode="r", encoding='utf-8', errors='ignore') as f:
try: try:
f.seek(0) await f.seek(0)
except: except:
pass pass
while True: while True: