From d83f086e1868c98f8440793e11061728078bfe35 Mon Sep 17 00:00:00 2001 From: iam-py-test <84232764+iam-py-test@users.noreply.github.com> Date: Tue, 9 Nov 2021 06:33:45 -0500 Subject: [PATCH] JSON --- ClearURLs for uBo/compile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClearURLs for uBo/compile.py b/ClearURLs for uBo/compile.py index cca1beda3..a46e6d6f2 100644 --- a/ClearURLs for uBo/compile.py +++ b/ClearURLs for uBo/compile.py @@ -145,7 +145,7 @@ def haschanged() -> bool: toph = hashlib.sha256(HEAD.encode()).hexdigest() if toph not in hashes: c = True - ruleshash = hashlib.sha256(json.loads(getrules()).encode()).hexdigest() + ruleshash = hashlib.sha256(getrules().encode()).hexdigest() if ruleshash not in hashes: c = True with open("hash.txt","w") as rulesf: