Do not pass names of individual files to shutil.rmtree(); use os.unlink()
for that.
1 file changed