From 72853f7a7f96eeea87d4fda7f45634f4f8a00729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Thu, 30 Nov 2023 04:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=8D=E5=90=91=E8=BD=AC=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/main.go b/bin/main.go index a3333f8..621e6c3 100644 --- a/bin/main.go +++ b/bin/main.go @@ -404,7 +404,7 @@ func main() { var image_list_sorted []Image for _, id := range text_ids { for _, image := range image_list { - if image.Id == int(id) { + if id == strconv.Itoa(image.Id) { image_list_sorted = append(image_list_sorted, image) } }