From 0ed00d4f7497a89ea9e09165b7ad330127713190 Mon Sep 17 00:00:00 2001 From: z4m1 Date: Tue, 19 Mar 2024 03:28:39 +0900 Subject: [PATCH] Fixed that artists and characters are not added to tags when they are left blank --- scripts/fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/fetch.py b/scripts/fetch.py index 709c69f..e6eadf8 100644 --- a/scripts/fetch.py +++ b/scripts/fetch.py @@ -25,9 +25,9 @@ def fetchTags(ch, art_box, char_box): format_tags = "" - if art_box: + if art_box and artist: format_tags += artist - if char_box: + if char_box and char: if not art_box: format_tags += char else: