mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-08-22 22:34:01 -07:00
FileDownloader: aria2c: Delete cookies file only if it exists.
This commit is contained in:
parent
91d59c7be7
commit
c834cbcca4
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue