Skip to content

Commit 4b1523f

Browse files
authored
Remove players who left the guild from Standing (#55)
* Remove players who left the guild from Standing * Fix flake
1 parent e04dbcb commit 4b1523f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

slao_bot/cogs/epgp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ def _process_sv(self, data: str, author, guild_id: str) -> Response:
382382
self._parse_traffic_entry(traffic)
383383

384384
# Process Standing
385+
self.cursor.execute('''DELETE FROM Standing''')
385386
for player_slug, data in backup.items():
386387
self._parse_standing(player_slug, data)
387388

0 commit comments

Comments
 (0)