From cb94f49cf962387e48a326ec6b4dd69dce4a7410 Mon Sep 17 00:00:00 2001 From: wszqkzqk Date: Sun, 31 Jul 2022 21:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8=E5=90=8E=E7=BC=80=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tool.py b/source/tool.py index d21617a..29014a6 100755 --- a/source/tool.py +++ b/source/tool.py @@ -197,7 +197,7 @@ def load_image_frames(directory, image_name, colorkey, accept): return frame_list # colorkeys 是设置图像中的某个颜色值为透明,这里用来消除白边 -def load_all_gfx(directory, colorkey=c.WHITE, accept=(".png", ".jpg", ".bmp", ".gif", "webp")): +def load_all_gfx(directory, colorkey=c.WHITE, accept=(".png", ".jpg", ".bmp", ".gif", ".webp")): graphics = {} for name1 in os.listdir(directory): # subfolders under the folder resources\graphics