perf: 推送系统用户用户名提示信息

pull/8427/head
Jiangjie.Bai 2022-06-16 18:02:43 +08:00 committed by Jiangjie.Bai
parent 298f6ba41d
commit 81598a5264
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ def push_system_user_a_asset_manual(system_user, asset, username=None):
# if username is None:
# username = system_user.username
task_name = gettext_noop("Push system users to asset: ") + "{}({}) => {}".format(
system_user.name, username or '', asset
system_user.name, username or system_user.username, asset
)
return push_system_user_util(system_user, [asset], task_name=task_name, username=username)