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'