Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix OSError by using shutil.move for cross-filesystem moves
Using os.rename caused an OSError when trying to move files across different filesystems (e.g., from /tmp to another directory). By using shutil.move, we gracefully handle such situations, ensuring files are moved correctly regardless of the source and destination filesystems.
- Loading branch information