feat: 优化代码格式和可读性,增强日志清理策略配置
This commit is contained in:
1 parent
dcded08796
commit
917438af2e
12 files changed
+190
-59
No files matched your search
@@ -600,8 +600,13 @@ class underlying_operations:
|
||||
except Exception:
|
||||
pass
|
||||
try:
|
||||
with open(self._screenshot_log_path, "a", encoding="utf-8") as _lf:
|
||||
_lf.write(json.dumps(end_record, ensure_ascii=False) + "\n")
|
||||
with open(
|
||||
self._screenshot_log_path, "a", encoding="utf-8"
|
||||
) as _lf:
|
||||
_lf.write(
|
||||
json.dumps(end_record, ensure_ascii=False)
|
||||
+ "\n"
|
||||
)
|
||||
except Exception:
|
||||
pass
|
||||
except Exception:
|
||||
|
||||
Reference in new issue
Block a user