fix links index

This commit is contained in:
Nick Sweeting 2019-03-30 23:43:53 -04:00
parent 97249a1861
commit f1075f2c7d
2 changed files with 2 additions and 2 deletions

View file

@ -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