forked from DRMTalks/devine
Fix Cookie update at the end of dl command
This commit is contained in:
parent
837061cf91
commit
3dbe0caa52
|
@ -659,7 +659,7 @@ class dl:
|
||||||
|
|
||||||
# update cookies
|
# update cookies
|
||||||
cookie_file = self.get_cookie_path(self.service, self.profile)
|
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)
|
self.save_cookies(cookie_file, service.session.cookies)
|
||||||
|
|
||||||
dl_time = time_elapsed_since(start_time)
|
dl_time = time_elapsed_since(start_time)
|
||||||
|
|
Loading…
Reference in New Issue