|
@@ -313,6 +313,8 @@ class CustomerTemplateService:
|
|
|
return None
|
|
return None
|
|
|
def copyImage(self,src_path,limit_path):
|
|
def copyImage(self,src_path,limit_path):
|
|
|
try:
|
|
try:
|
|
|
|
|
+ directory = os.path.dirname(limit_path)
|
|
|
|
|
+ self.create_folder(directory)
|
|
|
print("copyImage 模型图/场景图开始复制",src_path)
|
|
print("copyImage 模型图/场景图开始复制",src_path)
|
|
|
print("copyImage 模型图/场景图开始复制",limit_path)
|
|
print("copyImage 模型图/场景图开始复制",limit_path)
|
|
|
shutil.copy(src_path, limit_path)
|
|
shutil.copy(src_path, limit_path)
|