Merge pull request #5350 from hctech/dev

fix:资产自动推送UUIDD数组格式化字符串失败
pull/5385/head
老广 2021-01-06 14:41:24 +08:00 committed by GitHub
commit 5b5c33116a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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