From 1d34829fc4f223547a3026101fdcc02ad2ec43df Mon Sep 17 00:00:00 2001 From: KT Date: Mon, 16 Sep 2024 20:51:05 +0800 Subject: [PATCH] Modify the update_characters_any function to use Enka first --- genshin/utility/extdb.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/genshin/utility/extdb.py b/genshin/utility/extdb.py index b3058cd3..56a46e0b 100644 --- a/genshin/utility/extdb.py +++ b/genshin/utility/extdb.py @@ -229,10 +229,7 @@ async def update_characters_any( if len(langs) == 0: return - if len(langs) == 1: - updators = [update_characters_ambr, update_characters_enka] - else: - updators = [update_characters_enka, update_characters_ambr] + updators = [update_characters_enka, update_characters_ambr] updators.append(update_characters_genshindata)