Browse Source

out_image_2

rambo 1 tháng trước cách đây
mục cha
commit
71fa0ea6c4
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      python/service/grenerate_main_image_test.py

+ 2 - 0
python/service/grenerate_main_image_test.py

@@ -745,6 +745,8 @@ class GeneratePic(object):
                 cut_image.close()
             if 'logo_im' in locals() and logo_im:
                 logo_im.close()
+            if 'out_image_2' in locals() and out_image_2:
+                out_image_2.close()
         except Exception as e:
             logger.info(f"阴影处理关闭图片对象失败:{str(e)}")
             print(f"Error closing images: {e}")