From 64b41cbb5cddb872f582858256ad7b1916b2479c Mon Sep 17 00:00:00 2001 From: ZhuoZhou Date: Tue, 22 Apr 2025 14:10:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- check_zip_psd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_zip_psd.py b/check_zip_psd.py index b3189d3..c2a5e79 100644 --- a/check_zip_psd.py +++ b/check_zip_psd.py @@ -42,8 +42,8 @@ def check_psd(psd_path): # print(f'{psd.size}') - # if (psd_width != config.psd_standard_width and psd_width != config.psd_standard_width2) or (psd_height != config.psd_standard_height and psd_height != config.psd_standard_height2): - # error_log.append(f'{psd_name}:{config.error_log.psd_size_error.value}') + if (psd_width != config.psd_standard_width and psd_width != config.psd_standard_width2) or (psd_height != config.psd_standard_height and psd_height != config.psd_standard_height2): + error_log.append(f'{psd_name}:{config.error_log.psd_size_error.value}') titem_name = 'titem'