代码优化
This commit is contained in:
parent
9301a8814f
commit
b64481643e
|
|
@ -76,6 +76,7 @@ class DealAccount:
|
||||||
result = await self.update_device_status(set_param, where_conditions, params)
|
result = await self.update_device_status(set_param, where_conditions, params)
|
||||||
if result:
|
if result:
|
||||||
print(f"该账号:{data['account_id']} 已经备份过,不需要在备份")
|
print(f"该账号:{data['account_id']} 已经备份过,不需要在备份")
|
||||||
|
return True
|
||||||
else:
|
else:
|
||||||
tasks = self.task_all.backup_system([data["pad_code"]], data["pad_code"].lower())
|
tasks = self.task_all.backup_system([data["pad_code"]], data["pad_code"].lower())
|
||||||
if tasks:
|
if tasks:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue