1
This commit is contained in:
1 parent
0c37afe492
commit
3a9a1f96e2
1 file changed
+1
@@ -38,6 +38,7 @@ def down_obj_fromoss(pid,order_id):
|
|||||||
prefix = f'objs/print/{pid}/'
|
prefix = f'objs/print/{pid}/'
|
||||||
if ossPath != "":
|
if ossPath != "":
|
||||||
prefix = os.path.join("objs","print",pid,ossPath,order_id)
|
prefix = os.path.join("objs","print",pid,ossPath,order_id)
|
||||||
|
prefix = prefix + "/"
|
||||||
filelist = oss2.ObjectIteratorV2(oss_client, prefix=prefix)
|
filelist = oss2.ObjectIteratorV2(oss_client, prefix=prefix)
|
||||||
print(f'prefix:{prefix}')
|
print(f'prefix:{prefix}')
|
||||||
print(f'ossPath:{ossPath}')
|
print(f'ossPath:{ossPath}')
|
||||||
|
|||||||
Reference in new issue
Block a user