1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-23 00:07:49 +00:00

[openload] Don't use bare except when removing temp files

This commit is contained in:
Sergey M․ 2017-11-26 00:05:28 +07:00
parent 9ef909f2b2
commit 6ff27b8d5a
No known key found for this signature in database
GPG key ID: 2C393E0F18A9236D

View file

@ -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):