mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[openload] Don't use bare except when removing temp files
This commit is contained in:
		| @@ -140,7 +140,7 @@ class PhantomJSwrapper(object): | |||||||
|         for name in self._TMP_FILE_NAMES: |         for name in self._TMP_FILE_NAMES: | ||||||
|             try: |             try: | ||||||
|                 os.remove(self._TMP_FILES[name].name) |                 os.remove(self._TMP_FILES[name].name) | ||||||
|             except: |             except (IOError, OSError): | ||||||
|                 pass |                 pass | ||||||
|  |  | ||||||
|     def _save_cookies(self, url): |     def _save_cookies(self, url): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user