projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[rai] Fix extraction (Closes #5396)
[youtube-dl]
/
youtube_dl
/
downloader
/
common.py
diff --git
a/youtube_dl/downloader/common.py
b/youtube_dl/downloader/common.py
index 8ed5c19a6b8079c9807faa4fa7a505a398974975..a0fc5ead06a4e8adba7886d2a4087d28ca9cdbcb 100644
(file)
--- a/
youtube_dl/downloader/common.py
+++ b/
youtube_dl/downloader/common.py
@@
-204,7
+204,7
@@
class FileDownloader(object):
return
try:
os.utime(filename, (time.time(), filetime))
return
try:
os.utime(filename, (time.time(), filetime))
- except:
+ except
Exception
:
pass
return filetime
pass
return filetime
@@
-318,7
+318,7
@@
class FileDownloader(object):
)
continuedl_and_exists = (
)
continuedl_and_exists = (
- self.params.get('continuedl',
Fals
e) and
+ self.params.get('continuedl',
Tru
e) and
os.path.isfile(encodeFilename(filename)) and
not self.params.get('nopart', False)
)
os.path.isfile(encodeFilename(filename)) and
not self.params.get('nopart', False)
)