|
|
|
@ -58,8 +58,8 @@ def get_photo2_align_info(pid): |
|
|
|
#判断对齐的图片数量和photo2的数量是否一致,不一致要进行通知处理 |
|
|
|
#判断对齐的图片数量和photo2的数量是否一致,不一致要进行通知处理 |
|
|
|
photosNums = len(os.listdir(os.path.join(config.workdir, pid, "photo2"))) |
|
|
|
photosNums = len(os.listdir(os.path.join(config.workdir, pid, "photo2"))) |
|
|
|
#判断是否存在该目录 |
|
|
|
#判断是否存在该目录 |
|
|
|
print(f"影棚号:{psid} , {config.oss_bucket.object_exists(f'xmps_new_studio_rate/{psid}/')}") |
|
|
|
filename = f'xmps_new_studio_rate/{psid}/texture/11_2.xmp' |
|
|
|
filename = f'xmps_new_studio_rate/{psid}/{psid}.rcbox' |
|
|
|
print(f"影棚号:{psid} , {config.oss_bucket.object_exists(filename)}") |
|
|
|
isRate = False |
|
|
|
isRate = False |
|
|
|
if not config.oss_bucket.object_exists(filename): |
|
|
|
if not config.oss_bucket.object_exists(filename): |
|
|
|
#提示是否进行 xmps_new_studio_rate 文件夹的创建 |
|
|
|
#提示是否进行 xmps_new_studio_rate 文件夹的创建 |
|
|
|
|