change blender file
This commit is contained in:
parent
e0a6cd0af1
commit
a0cee0b394
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ args = parser.parse_args()
|
|||
|
||||
def copy_and_move_folder(src, dst):
|
||||
try:
|
||||
if os.path.exists(src):
|
||||
if os.path.exists(src) is False:
|
||||
shutil.rmtree(src)
|
||||
shutil.copytree(src, dst)
|
||||
print(f"Folder {src} successfully copied")
|
||||
|
@ -17,4 +17,4 @@ def copy_and_move_folder(src, dst):
|
|||
|
||||
source_folder = os.path.dirname(os.path.abspath(__file__)) + "/blender/assets/"
|
||||
|
||||
copy_and_move_folder(source_folder, args.path)
|
||||
copy_and_move_folder(source_folder, args.path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue