2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-28 06:49:06 +00:00

fix: PosixPath object has no attribute 'rstrip'

This commit is contained in:
Dany Robert 2021-12-09 13:03:01 +05:30 committed by GitHub
parent cd1e191b5b
commit aaf48566b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ def execute(bench_path):
os.makedirs(new_directory)
for archived_site_path in old_directory.glob("*"):
shutil.move(archived_site_path, new_directory)
shutil.move(str(archived_site_path), str(new_directory))
click.secho(f"Archived sites are now stored under {new_directory}")