diff --git a/build.py b/build.py index a73f8a1..bb0df0b 100755 --- a/build.py +++ b/build.py @@ -309,7 +309,7 @@ def assemble_ssh_command(self): f"{SSH_USER}@{SSH_HOST}", f"chmod", f"ugo+r", - f"{STATIC_DIR}{os.path.basename(self.image_path)}", + f"{STATIC_DIR / self.image_path.basename()}", ] )