Explorar o código

fix(pipeline): 删角辅助残留函数内旧import

wuzilong hai 1 mes
pai
achega
3035e68328
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      pipeline_bot/pipeline/bootstrap.py

+ 0 - 3
pipeline_bot/pipeline/bootstrap.py

@@ -156,9 +156,6 @@ def _delete_all_roles(zone: ZoneId, jwt: str, uid: int,
 def _fetch_role_list(conn: GatewayConnection, zone: ZoneId, jwt: str,
 def _fetch_role_list(conn: GatewayConnection, zone: ZoneId, jwt: str,
                      uid: int) -> list[dict[str, object]]:
                      uid: int) -> list[dict[str, object]]:
     """登录链拉 SC520 角色列表(2001→104→100→520, login_gate 同源精简)。"""
     """登录链拉 SC520 角色列表(2001→104→100→520, login_gate 同源精简)。"""
-    from pbot.codec.bitbuf import decode6
-    from pbot.config import CHANNEL, GAME_ID
-
     body2001 = (f"{uid}/".encode() + encode6(jwt.encode()) + b"/"
     body2001 = (f"{uid}/".encode() + encode6(jwt.encode()) + b"/"
                 + encode6(CHANNEL.encode()) + b"/1/0")
                 + encode6(CHANNEL.encode()) + b"/1/0")
     _ = conn.send_frame(2001, _rand30(), zone, conn.port, 0, body2001, tail=0)
     _ = conn.send_frame(2001, _rand30(), zone, conn.port, 0, body2001, tail=0)