projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ef909f
)
[openload] Don't use bare except when removing temp files
author
Sergey M․
<dstftw@gmail.com>
Sat, 25 Nov 2017 17:05:28 +0000
(
00:05
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 25 Nov 2017 17:05:28 +0000
(
00:05
+0700)
youtube_dl/extractor/openload.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/openload.py
b/youtube_dl/extractor/openload.py
index efa5d4601132d903e5ba40cf88e5eee8f199a23c..a99af12a409a5a5e4f0c7b4d420e202a171fb207 100644
(file)
--- a/
youtube_dl/extractor/openload.py
+++ b/
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):