fix:资产自动推送UUIDD数组格式化字符串失败

pull/5350/head
huangchao 2020-12-27 23:00:45 +08:00
parent 9d4f1a01fd
commit 795d1b59e0
1 changed files with 1 additions and 1 deletions

View File

@ -35,6 +35,6 @@ def get_objects(model, pks):
if len(objs) != len(pks):
pks = set(pks)
exists_pks = {o.id for o in objs}
not_found_pks = ','.join(pks - exists_pks)
not_found_pks = pks - exists_pks
logger.error(f'DoesNotExist: <{model.__name__}: {not_found_pks}>')
return objs