去除多余代码

This commit is contained in:
a376148946 2023-09-25 15:46:01 +08:00 committed by qwerdvd
parent d4ac33544d
commit f2a63a89a5

View File

@ -1,7 +1,6 @@
import math import math
from pathlib import Path from pathlib import Path
from typing import List, Union, Optional from typing import List, Union, Optional
from PIL import Image, ImageDraw from PIL import Image, ImageDraw
from gsuid_core.logger import logger from gsuid_core.logger import logger
from gsuid_core.utils.error_reply import get_error from gsuid_core.utils.error_reply import get_error
@ -254,7 +253,7 @@ async def draw_rogue_img(
based_h = 700 based_h = 700
detail_h_list = [] detail_h_list = []
based_h_list = [] based_h_list = []
for index_floor, detail in enumerate(rogue_detail): for detail in rogue_detail:
# 100+70+170 # 100+70+170
# 头+底+角色 # 头+底+角色
detail_h = 340 detail_h = 340
@ -541,7 +540,7 @@ async def draw_rogue_locust_img(
based_h = 700 based_h = 700
detail_h_list = [] detail_h_list = []
based_h_list = [] based_h_list = []
for index_floor, detail in enumerate(rogue_detail): for detail in rogue_detail:
# 100+70+170 # 100+70+170
# 头+底+角色 # 头+底+角色
detail_h = 340 detail_h = 340