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

This commit is contained in:
huangchao 2020-12-27 23:00:45 +08:00
parent 9d4f1a01fd
commit 795d1b59e0

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