Electrenator / JSONsInZIPsEditor

This program's purpose is to change the value of things with a specified key in a lot of JSON files over multiple ZIPs quickly, or at least quicker than a human
GNU General Public License v3.0
2 stars 1 forks source link

Temp directory remains after rmtree() removal (Windows) #2

Closed Electrenator closed 4 years ago

Electrenator commented 4 years ago

The windows bash somehow doesn't delete directories with shutil.rmtree() on any of the base windows shells (CMD & PowerShell). This script does work on the Windows Debian shell but with Windows, you will get an OSError The directory is not empty error when it tries to delete the remaining temporary directory.

This directory can be deleted manually after the script has finished but will not be removed by the program itself.

Electrenator commented 4 years ago

The fix was simpler than expected