mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-27 20:37:54 +00:00
os.renames cannot move across drives/partitions on any platform. that is why shutil.move is used, because the OS allotted temp file could possibly be on another drive or partition. Also fix code formatting on new import statements.