diff --git a/bench/patches/v5/update_archived_sites.py b/bench/patches/v5/update_archived_sites.py index 0690e4e8..385a00ad 100644 --- a/bench/patches/v5/update_archived_sites.py +++ b/bench/patches/v5/update_archived_sites.py @@ -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}")