mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
FileDownloader: aria2c: Delete cookies file only if it exists.
This commit is contained in:
parent
91d59c7be7
commit
c834cbcca4
@ -657,6 +657,7 @@ class FileDownloader(object):
|
||||
retval = subprocess.call(basic_args)
|
||||
|
||||
# The cookie jar is not necessary anymore
|
||||
if tmp_jar_name:
|
||||
os.unlink(tmp_jar_name)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user