This commit is contained in:
IDONTSUDO 2024-05-02 17:57:58 +03:00
parent a0cee0b394
commit 89d4226ea6
3 changed files with 10 additions and 9 deletions

View file

@ -8,8 +8,6 @@ args = parser.parse_args()
def copy_and_move_folder(src, dst):
try:
if os.path.exists(src) is False:
shutil.rmtree(src)
shutil.copytree(src, dst)
print(f"Folder {src} successfully copied")
except shutil.Error as e: