This commit is contained in:
iam-py-test
2021-11-09 06:33:45 -05:00
committed by GitHub
parent 0cff47d14f
commit d83f086e18
+1 -1
View File
@@ -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: