From 209c6dda8015de86a911c661762176550d1e280f Mon Sep 17 00:00:00 2001 From: qsc Date: Sat, 21 Feb 2026 18:29:51 +0800 Subject: [PATCH] 11 --- core/fun_basic.py | 2 -- templates/test.html | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/fun_basic.py b/core/fun_basic.py index ab07201..1727c1f 100644 --- a/core/fun_basic.py +++ b/core/fun_basic.py @@ -109,7 +109,5 @@ def load_as_base64(icons_dir: str) -> dict[str, str]: mime = f"image/{ext.lower().lstrip('.')}" icons[display_name] = f"data:{mime};base64,{data}" - # ↓ 加这行 - logger.debug(f"加载图标: 原始文件名={filename!r} → key={display_name!r}") return icons \ No newline at end of file diff --git a/templates/test.html b/templates/test.html index 92463ce..9d0bfbd 100644 --- a/templates/test.html +++ b/templates/test.html @@ -79,8 +79,8 @@
{% for item in ptqy %}
- {% if icons.serendipity.get(item.event) %} - {{ item.event }} + {% if 1 %} + {{ item.event }} {% else %}
{{ item.event }}
{% endif %}