fix: auto-fix code issues (cron)

- 修复重复导入/字段
- 修复异常处理 (BaseException -> 具体异常类型)
- 修复PEP8格式问题
- 添加类型注解
- 修复tingwu_client.py缩进错误
This commit is contained in:
OpenClaw Bot
2026-02-27 15:20:03 +08:00
parent 96f08b8bb9
commit 646b64daf7
10 changed files with 27 additions and 51 deletions

View File

@@ -649,7 +649,7 @@ console.log('Upload complete:', result.id);
try:
if self.created_ids['developer']:
summary = self.manager.get_developer_revenue_summary(self.created_ids['developer'][0])
self.log(f"Revenue summary for developer:")
self.log("Revenue summary for developer:")
self.log(f" - Total sales: {summary['total_sales']}")
self.log(f" - Total fees: {summary['total_fees']}")
self.log(f" - Total earnings: {summary['total_earnings']}")