Selaa lähdekoodia

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

wuzilong 1 kuukausi sitten
vanhempi
commit
3035e68328
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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,
                      uid: int) -> list[dict[str, object]]:
     """登录链拉 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"/"
                 + encode6(CHANNEL.encode()) + b"/1/0")
     _ = conn.send_frame(2001, _rand30(), zone, conn.port, 0, body2001, tail=0)