mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-06-01 13:09:56 +08:00
fix
This commit is contained in:
parent
697840d311
commit
db0de2ea39
@ -210,11 +210,11 @@ async def draw_char_pic(uid,nickname,image = None):
|
|||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
bg_list = ['bg_img_1.png','bg_img_2.png']
|
bg_list = ['bg_img_1.png','bg_img_2.png',"bg_img_3.png"]
|
||||||
bg_path = os.path.join(TEXT_PATH,"bg.png")
|
bg_path = os.path.join(TEXT_PATH,"bg.png")
|
||||||
bg2_path = os.path.join(TEXT_PATH,random.choice(bg_list))
|
bg2_path = os.path.join(TEXT_PATH,random.choice(bg_list))
|
||||||
fg_path = os.path.join(TEXT_PATH,"fg_img_1.png")
|
fg_path = os.path.join(TEXT_PATH,"char_fg_img.png")
|
||||||
mask_path = os.path.join(TEXT_PATH,"mask_img.png")
|
mask_path = os.path.join(TEXT_PATH,"char_mask_img.png")
|
||||||
|
|
||||||
if is_edit == True:
|
if is_edit == True:
|
||||||
bg_path_edit = os.path.join(TEXT_PATH,f"{nickname}.png")
|
bg_path_edit = os.path.join(TEXT_PATH,f"{nickname}.png")
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
BIN
readme/5.PNG
Normal file
BIN
readme/5.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
readme/6.PNG
Normal file
BIN
readme/6.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 MiB |
Loading…
x
Reference in New Issue
Block a user