perf: 修改同名账号登录报错

This commit is contained in:
ibuler
2023-12-21 14:02:24 +08:00
committed by 老广
parent ca026040fe
commit a38624d198
2 changed files with 6 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ class Applet(JMSBaseModel):
'account': account,
'lock_key': lock_key
}
logger.debug('Select host and account: {}'.format(res))
logger.debug('Select host and account: {}-{}'.format(host.name, account.username))
return res
def delete(self, using=None, keep_parents=False):