We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24168af commit 65f0e5cCopy full SHA for 65f0e5c
setup.py
@@ -64,9 +64,9 @@
64
try:
65
shutil.copytree(TEMPLATES_SRC_DIR, TEMPLATES_DST_DIR)
66
print("Directory tree copied successfully.")
67
-except FileExistsError as e:
+except FileExistsError:
68
print(f"The destination directory '{TEMPLATES_DST_DIR}' already exists and cannot be overwritten.")
69
-except PermissionError as e:
+except PermissionError:
70
print(f"Permission denied when trying to copy '{TEMPLATES_SRC_DIR}' to '{TEMPLATES_DST_DIR}'. Please check your permissions.")
71
except Exception as e: # pylint: disable=broad-except
72
print(f"An unexpected error occurred while copying the directory tree: {e}")
0 commit comments