mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[cleanup] Misc
This commit is contained in:
		| @@ -255,7 +255,8 @@ class FileDownloader: | ||||
| 
 | ||||
|     @wrap_file_access('remove') | ||||
|     def try_remove(self, filename): | ||||
|         os.remove(filename) | ||||
|         if os.path.isfile(filename): | ||||
|             os.remove(filename) | ||||
| 
 | ||||
|     @wrap_file_access('rename') | ||||
|     def try_rename(self, old_filename, new_filename): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan