Commit 0ce440d7 by sikang

test

parent bae369c8
......@@ -36,7 +36,7 @@ class ImageGarble:
for root, dirs, files in os.walk("%s/%s/res/" % (config['root'], main_dir)):
#改变现有图片MD5
for file in files:
if file.endswith(".png") or file.endswith(".png"):
if file.endswith(".png") or file.endswith(".webp"):
path = os.path.join(root,file)
os.system("md5 %s"%path)
img = Image.open(path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment