Fix Cookie update at the end of dl command

This commit is contained in:
rlaphoenix 2024-01-29 16:28:40 +00:00
parent 837061cf91
commit 3dbe0caa52
1 changed files with 1 additions and 1 deletions

View File

@ -659,7 +659,7 @@ class dl:
# update cookies
cookie_file = self.get_cookie_path(self.service, self.profile)
if cookie_file.exists():
if cookie_file:
self.save_cookies(cookie_file, service.session.cookies)
dl_time = time_elapsed_since(start_time)