Skip to content

Commit

Permalink
Update DbPogoProtoSubmitRaw.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JabLuszko authored Sep 8, 2024
1 parent af47a1d commit e3eecf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapadroid/db/DbPogoProtoSubmitRaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -1339,7 +1339,7 @@ async def stations(self, session: AsyncSession, received_timestamp: int, map_pro
start_time = DatetimeWrapper.fromtimestamp(float(start_time_ms / 1000))
end_time = DatetimeWrapper.fromtimestamp(float(station.end_time_ms / 1000))
bread_battle_available: bool = station.is_bread_battle_available
inactive: bool = station.is_inactive;
inactive: bool = station.is_inactive

# Is this needed at all?
cooldown_complete = DatetimeWrapper.fromtimestamp(float(station.cooldown_complete_ms / 1000))
Expand Down Expand Up @@ -1393,7 +1393,7 @@ async def stations(self, session: AsyncSession, received_timestamp: int, map_pro

station_obj.start_time = start_time
station_obj.end_time = end_time
station_obj.bread_battle_available
station_obj.bread_battle_available = bread_battle_available
station_obj.inactive = inactive
station_obj.last_updated = received_at
async with session.begin_nested() as nested_transaction:
Expand Down

0 comments on commit e3eecf3

Please sign in to comment.