mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-17 03:37:48 -06:00
Build: Don't remove dir with os.remove use rmdir instead.
part of CURA-12229
This commit is contained in:
parent
2aed655c8b
commit
cd2e4220f0
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ class CuraConan(ConanFile):
|
|||
os.remove(file)
|
||||
print(f"deleted file: {file}")
|
||||
for dir_ in to_remove_dirs:
|
||||
os.remove(dir_)
|
||||
rmdir(self, dir_)
|
||||
print(f"deleted dir_: {dir_}")
|
||||
|
||||
def _generate_pyinstaller_spec(self, location, entrypoint_location, icon_path, entitlements_file):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue