add await
This commit is contained in:
+1
-1
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user