mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
fixes for sync
This commit is contained in:
@@ -123,5 +123,5 @@ class LinkResolver():
|
||||
scored_results.append((score, result))
|
||||
|
||||
# Sort by score (lowest first) and return best
|
||||
scored_results.sort()
|
||||
scored_results.sort(key=lambda x: x[0], reverse=True)
|
||||
return scored_results[0][1]
|
||||
|
||||
Reference in New Issue
Block a user