From d01c866b80e5d487404a82a179601046ad0fdc3b Mon Sep 17 00:00:00 2001 From: roblabla Date: Sat, 17 Feb 2024 19:21:53 +0100 Subject: [PATCH] Fix off-by-one in compare links --- scripts/diff_all_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/diff_all_functions.py b/scripts/diff_all_functions.py index d3ae10a8..590a28da 100755 --- a/scripts/diff_all_functions.py +++ b/scripts/diff_all_functions.py @@ -66,13 +66,13 @@ def main(): print("") print("") + id = val["name"].lower().replace(":", "__") print(f'

{val["name"]}

') print("") if "error" in val: print("Failed to generate diff:") print(val["error"]) elif val["ratio"] != 1: - id = val["name"].lower().replace(":", "__") print("```diff") print(val["diff"]) print("```")