mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-06-01 13:09:56 +08:00
修复:路径问题导致的角色/武器推荐无法使用
This commit is contained in:
parent
017333c05d
commit
a2313d7f93
@ -158,7 +158,8 @@ char_adv_im = '''【{}】
|
|||||||
|
|
||||||
|
|
||||||
async def weapon_adv(name):
|
async def weapon_adv(name):
|
||||||
char_adv_path = os.path.join(FILE_PATH, "mihoyo_libs/Genshin All Char.xlsx")
|
#char_adv_path = os.path.join(FILE_PATH, "mihoyo_libs/Genshin All Char.xlsx")
|
||||||
|
char_adv_path = FILE_PATH
|
||||||
wb = load_workbook(char_adv_path)
|
wb = load_workbook(char_adv_path)
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
|
|
||||||
@ -182,7 +183,8 @@ async def weapon_adv(name):
|
|||||||
|
|
||||||
async def char_adv(name):
|
async def char_adv(name):
|
||||||
char_name = None
|
char_name = None
|
||||||
char_adv_path = os.path.join(FILE_PATH, "mihoyo_libs/Genshin All Char.xlsx")
|
#char_adv_path = os.path.join(FILE_PATH, "mihoyo_libs/Genshin All Char.xlsx")
|
||||||
|
char_adv_path = FILE_PATH
|
||||||
wb = load_workbook(char_adv_path)
|
wb = load_workbook(char_adv_path)
|
||||||
ws = wb.active
|
ws = wb.active
|
||||||
char_list = ws["A"]
|
char_list = ws["A"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user