Update push script for Mojo changes
- http://mojolicio.us/perldoc/Mojo/UserAgent/CookieJar.txt
This commit is contained in:
parent
f76bdf271f
commit
f01231d766
2
push.pl
2
push.pl
|
|
@ -41,7 +41,7 @@ Mojo::Util::monkey_patch 'Mojo::UserAgent::CookieJar', find => sub {
|
||||||
|
|
||||||
# Check if cookie has expired
|
# Check if cookie has expired
|
||||||
my $expires = $cookie->expires;
|
my $expires = $cookie->expires;
|
||||||
next if $expires && time > ($expires->epoch || 0);
|
next if $expires && time > ($expires || 0);
|
||||||
#push @$new, $cookie;
|
#push @$new, $cookie;
|
||||||
|
|
||||||
# Taste cookie
|
# Taste cookie
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue