python-rclone icon indicating copy to clipboard operation
python-rclone copied to clipboard

Fix compatibility with Windows

Open ditsuke opened this issue 3 years ago • 3 comments

Replaced the usage of tempfile's NamedTemporaryFile() method with the mkstemp() method for the generation of the temp rclone config. This method requires the wrapper to remove the file manually but allows it to work on Windows.

This fixes #4.

ditsuke avatar Jun 19 '21 14:06 ditsuke

This would be very useful. Thanks alot!

Ethycs avatar Aug 10 '21 22:08 Ethycs

Looks like his commit doesn't reflect in the main repository? Or i am doing something wrong?

mohdsabahat avatar Jun 06 '22 10:06 mohdsabahat

Looks like his commit doesn't reflect in the main repository? Or i am doing something wrong?

Hi @mohdsabahat, apologies I couldn't respond earlier. This is an unmerged pull request, but if you want to use it you could use the master branch from my fork.

ditsuke avatar Jul 30 '22 08:07 ditsuke