Browse Source

fix: 💚 fix CI

tags/0.1.0
shangfengh 2 years ago
parent
commit
e2fc892e60
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dependency/py/HashFiles.py

+ 1
- 1
dependency/py/HashFiles.py View File

@@ -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()


Loading…
Cancel
Save