wmlscope: fixed a copy-pasting error
This commit is contained in:
parent
8c098c3264
commit
6c4ceacb00
1 changed files with 0 additions and 1 deletions
|
@ -450,7 +450,6 @@ Usage: wmlscope [options] dirpath
|
|||
for (namespace, filename) in xref.filelist.generator():
|
||||
with open(filename, "rb") as ifp: # this one may be an image or a sound, so don't assume UTF8 encoding
|
||||
collisions.append(hashlib.md5(ifp.read()).hexdigest()) # hexdigest can be easily printed, unlike digest
|
||||
collisions = zip(xref.filelist.flatten(), collisions)
|
||||
hashes = {}
|
||||
# hash in Py3 is a builtin function, hence the underscore after the variable name
|
||||
for (filename, hash_) in zip(xref.filelist.flatten(), collisions):
|
||||
|
|
Loading…
Add table
Reference in a new issue