1
This commit is contained in:
1 parent
5a95811433
commit
e941123d06
2 files changed
+4
-2
No files matched your search
@@ -131,10 +131,12 @@ def checkIsFinish(driver, pid, orderId,styleNumber):
|
||||
file_path = os.path.join(folder, file)
|
||||
if "tiff" in file:
|
||||
ossPath = f"photos/{pid}/cartoon_deep/{styleNumber}/{styleNumber}.tiff"
|
||||
time.sleep(5)
|
||||
utils.oss().put_object_from_file(ossPath, file_path)
|
||||
uploadCounts += 1
|
||||
elif "png" in file:
|
||||
ossPath = f"photos/{pid}/cartoon_deep/{styleNumber}/{styleNumber}.png"
|
||||
time.sleep(5)
|
||||
utils.oss().put_object_from_file(ossPath, file_path)
|
||||
uploadCounts += 1
|
||||
|
||||
|
||||
Reference in new issue
Block a user