Skip to content

Commit 62f3569

Browse files
committed
Bug fix (ML) - when cookies have blank expiration time
1 parent ce64d97 commit 62f3569

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3831,7 +3831,7 @@ def resetCookieJar(cookieJar):
38313831
with open(filename, "w+b") as f:
38323832
f.write("%s\n" % NETSCAPE_FORMAT_HEADER_COOKIES)
38333833
for line in lines:
3834-
_ = line.split()
3834+
_ = line.split("\t")
38353835
if len(_) == 7:
38363836
_[4] = FORCE_COOKIE_EXPIRATION_TIME
38373837
f.write("\n%s" % "\t".join(_))

0 commit comments

Comments
 (0)