Skip to content

Commit c908326

Browse files
committed
fix: make use of shutil.move instead of os.rename
1 parent 4b0ba77 commit c908326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/balatrobot/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,5 +479,5 @@ def screenshot(self, path: Path | None = None) -> Path:
479479
else:
480480
source_path = Path(screenshot_response["path"])
481481
dest_path = path
482-
source_path.rename(dest_path)
482+
shutil.move(source_path, dest_path)
483483
return dest_path

0 commit comments

Comments
 (0)