1
This commit is contained in:
1 parent
7106e2549c
commit
0c37afe492
1 file changed
+2
@@ -39,6 +39,8 @@ def down_obj_fromoss(pid,order_id):
|
||||
if ossPath != "":
|
||||
prefix = os.path.join("objs","print",pid,ossPath,order_id)
|
||||
filelist = oss2.ObjectIteratorV2(oss_client, prefix=prefix)
|
||||
print(f'prefix:{prefix}')
|
||||
print(f'ossPath:{ossPath}')
|
||||
#判断filelist是否为空
|
||||
if len(list(filelist)) == 0:
|
||||
filelist = oss2.ObjectIteratorV2(oss_client, prefix=f'objs/print/{pid}/')
|
||||
|
||||
Reference in new issue
Block a user