mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +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)
|
||||
|
||||
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}")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user