mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 15:16:57 +01:00
[openload] Don't use bare except when removing temp files
This commit is contained in:
parent
9ef909f2b2
commit
6ff27b8d5a
@ -140,7 +140,7 @@ class PhantomJSwrapper(object):
|
||||
for name in self._TMP_FILE_NAMES:
|
||||
try:
|
||||
os.remove(self._TMP_FILES[name].name)
|
||||
except:
|
||||
except (IOError, OSError):
|
||||
pass
|
||||
|
||||
def _save_cookies(self, url):
|
||||
|
Loading…
Reference in New Issue
Block a user