rambo преди 3 месеца
родител
ревизия
063370d1f5
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      python/custom_plugins/plugins/detail_template/huilima/detail_huilima4.py

+ 1 - 1
python/custom_plugins/plugins/detail_template/huilima/detail_huilima4.py

@@ -89,7 +89,7 @@ class DetailPicGet(DetailBase):
         ]
         for text_data in text_list:
             text = self.get_text_value(text_data["text"])
-            if text:
+            if not text:
                 text = text_data["default"]
             _pp = PictureProcessing().get_text_image_advanced(
                 font=font_1,