mirror of
https://github.com/9001/copyparty.git
synced 2025-11-09 16:15:58 +00:00
support fips-cpython and maybe make-sfx on macos
This commit is contained in:
@@ -213,11 +213,11 @@ def yieldfile(fn):
|
||||
|
||||
|
||||
def hashfile(fn):
|
||||
h = hashlib.md5()
|
||||
h = hashlib.sha1()
|
||||
for block in yieldfile(fn):
|
||||
h.update(block)
|
||||
|
||||
return h.hexdigest()
|
||||
return h.hexdigest()[:24]
|
||||
|
||||
|
||||
def unpack():
|
||||
|
||||
Reference in New Issue
Block a user