remove deprecated warn

This commit is contained in:
Hay1tsme
2025-02-21 23:51:59 -05:00
parent d4394788b7
commit 0f52b89033
22 changed files with 79 additions and 79 deletions

View File

@@ -38,7 +38,7 @@ class PokkenBase:
pcbid = request.register_pcb.pcb_id
if not pcbid.isdigit() or len(pcbid) != 12 or \
not pcbid.startswith(f"{PokkenConstants.SERIAL_IDENT[0]}{PokkenConstants.SERIAL_REGIONS[0]}{PokkenConstants.SERIAL_ROLES[0]}{PokkenConstants.SERIAL_CAB_IDENTS[0]}"):
self.logger.warn(f"Bad PCBID {pcbid}")
self.logger.warning(f"Bad PCBID {pcbid}")
res.result = 0
return res
@@ -49,12 +49,12 @@ class PokkenBase:
minfo = await self.data.arcade.get_machine(netid)
if not minfo and not self.core_cfg.server.allow_unregistered_serials:
self.logger.warn(f"netID {netid} does not belong to any shop!")
self.logger.warning(f"netID {netid} does not belong to any shop!")
res.result = 0
return res
elif not minfo:
self.logger.warn(f"Orphaned netID {netid} allowed to connect")
self.logger.warning(f"Orphaned netID {netid} allowed to connect")
locid = 0
else: