This commit is contained in:
Samuel Keeley
2015-01-21 07:46:50 -08:00
parent d71a4e4708
commit 3bb3b62b13
+1 -1
View File
@@ -133,7 +133,7 @@ def makecatalogs(repopath, options):
# Try to read the icon file
try:
print_utf8("Hashing %s..." % (iconpath))
iconhash = hashlib.md5(open(filepath, 'rb').read()).hexdigest()
iconhash = hashlib.sha256(open(filepath, 'rb').read()).hexdigest()
icons.update({iconpath:iconhash})
except IOError, inst:
errors.append("IO error for %s: %s" % (filepath, inst))