From e2fc892e60d7c1f2d815792be3799e194ae36314 Mon Sep 17 00:00:00 2001 From: shangfengh <3495281661@qq.com> Date: Fri, 21 Apr 2023 00:15:39 +0800 Subject: [PATCH] fix: :green_heart: fix CI --- dependency/py/HashFiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependency/py/HashFiles.py b/dependency/py/HashFiles.py index 467230a..a8eaf27 100644 --- a/dependency/py/HashFiles.py +++ b/dependency/py/HashFiles.py @@ -16,7 +16,7 @@ def generateHashFile(): path = os.path.join(root, file) with open(path, 'rb') as f: data = f.read() - if data.find('\r\n')!=-1 : + if data.find('\r\n') != -1 : hashlist[path.replace('\\','/')]=hashlib.md5(data.replace('\n','\r\n')).hexdigest() else : hashlist[path.replace('\\','/')]=hashlib.md5(data).hexdigest()