mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 16:36:25 +00:00
fix: PosixPath object has no attribute 'rstrip'
This commit is contained in:
parent
cd1e191b5b
commit
aaf48566b7
@ -40,7 +40,7 @@ def execute(bench_path):
|
|||||||
os.makedirs(new_directory)
|
os.makedirs(new_directory)
|
||||||
|
|
||||||
for archived_site_path in old_directory.glob("*"):
|
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}")
|
click.secho(f"Archived sites are now stored under {new_directory}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user