Skip to content

Commit ab4ba3d

Browse files
committed
linter
1 parent e1bb2e0 commit ab4ba3d

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

app/db/crud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ def create_or_update_generals_stats(session: Session, persona_id: int, raw_data:
822822
parse_generals_kv,
823823
)
824824

825-
raw_data = raw_data.replace('\x00', '')
825+
raw_data = raw_data.replace("\x00", "")
826826

827827
# Extract per-game honors from the incoming setpd data (before merge overwrites `battle` key)
828828
incoming_parsed = parse_generals_kv(raw_data)

app/servers/gamestats_server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ def _handle_getpd_generals(self, pid: int, lid: str, request_id: str, request_da
507507

508508
if stats and stats.raw_data:
509509
# Inject computed battle honors and rank into the response data
510-
parsed = parse_generals_kv(stats.raw_data.replace('\x00', ''))
510+
parsed = parse_generals_kv(stats.raw_data.replace("\x00", ""))
511511
rank = calculate_rank(parsed)
512512
parsed["battle"] = str(stats.battle_honors)
513513
parsed["rank"] = str(rank)

app/soap/competition_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
create_competition_session,
2727
extract_persona_from_ccid,
2828
finalize_match,
29-
get_match_reports_for_session,
3029
increment_received_reports,
3130
mark_report_intent_reported,
3231
set_report_intention,

0 commit comments

Comments
 (0)