Skip to content

Commit

Permalink
Update DbPogoProtoSubmitRaw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko committed Sep 13, 2024
1 parent 6e8aacb commit 91a2766
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mapadroid/db/DbPogoProtoSubmitRaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,8 +1383,8 @@ async def stations(self, session: AsyncSession, received_timestamp: int,
station_obj.battle_pokemon_gender = pokemon_data.pokemon_display.gender
station_obj.battle_pokemon_costume = pokemon_data.pokemon_display.costume
station_obj.battle_pokemon_alignment = pokemon_data.pokemon_display.alignment
station_obj.move_1 = pokemon_data.move1
station_obj.move_2 = pokemon_data.move2
station_obj.battle_pokemon_move_1 = pokemon_data.move1
station_obj.battle_pokemon_move_2 = pokemon_data.move2

station_obj.start_time = start_time
station_obj.end_time = end_time
Expand All @@ -1400,5 +1400,5 @@ async def stations(self, session: AsyncSession, received_timestamp: int,
logger.warning("Failed committing station data of {} ({})", station_id, str(e))
await nested_transaction.rollback()
await self._cache.set(station_cache_key, 1, ex=1)
logger.debug3("DbPogoProtoSubmit::stations: Done submitting raids with data received")
logger.debug3("DbPogoProtoSubmit::stations: Done submitting stations with data received")
return stations_seen

0 comments on commit 91a2766

Please sign in to comment.