mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-12 22:25:44 -04:00
fix links index
This commit is contained in:
parent
97249a1861
commit
f1075f2c7d
2 changed files with 2 additions and 2 deletions
|
@ -450,7 +450,7 @@ def merge_links(a: Link, b: Link) -> Link:
|
|||
|
||||
sources = list(set(a.sources + b.sources))
|
||||
|
||||
all_methods = (set(a.history.keys()) | set(a.history.keys()))
|
||||
all_methods = set(list(a.history.keys()) + list(a.history.keys()))
|
||||
history = {
|
||||
method: (a.history.get(method) or []) + (b.history.get(method) or [])
|
||||
for method in all_methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue