Skip to content

Commit

Permalink
Fix AttributeError
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored Nov 20, 2023
1 parent 9356b1a commit c87b0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendata_transport/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ async def __async_get_data(self, station):
params["id"] = station
else:
params["station"] = station
if self.date:
params["datetime"] = self.datetime
if self.datetime:
params["datetime"] = self.date
if self.transportations:
params["transportations"] = self.transportations
if self.fields:
Expand Down

0 comments on commit c87b0dd

Please sign in to comment.