Browse Source
[openload] Don't use bare except when removing temp files
master
Sergey M․
7 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
1 additions and
1 deletions
-
youtube_dl/extractor/openload.py
|
|
@ -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): |
|
|
|