mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-01 12:52:25 +10:00
support loading link indexes with extra keys
This commit is contained in:
@@ -164,7 +164,7 @@ class Link:
|
||||
from util import ts_to_date
|
||||
|
||||
most_recent = min(
|
||||
(result.start_ts
|
||||
(ts_to_date(result.start_ts)
|
||||
for method in self.history.keys()
|
||||
for result in self.history[method]),
|
||||
default=None,
|
||||
@@ -176,7 +176,7 @@ class Link:
|
||||
from util import ts_to_date
|
||||
|
||||
most_recent = max(
|
||||
(result.start_ts
|
||||
(ts_to_date(result.start_ts)
|
||||
for method in self.history.keys()
|
||||
for result in self.history[method]),
|
||||
default=None,
|
||||
|
||||
Reference in New Issue
Block a user