Skip to content

Commit

Permalink
Fix kwarg key
Browse files Browse the repository at this point in the history
  • Loading branch information
devdupont committed Jul 1, 2024
1 parent e9509b5 commit 28199cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avwx_api/handle/notam.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ async def async_update(self, timeout: int = 10, disable_post: bool = False) -> b
icao=self.code, coord=self.coord, radius=self.radius, timeout=timeout
)
self.source = self.service.root
return await self._update(reports, None, disable_post)
return await self._update(reports, None, disable_post=disable_post)

async def async_parse(
self, reports: str | list[str], issued: date | None = None
Expand All @@ -142,7 +142,7 @@ async def async_parse(
if isinstance(reports, str):
reports = [reports]
reports = [{"icaoMessage": r} for r in reports]
return await self._update(reports, issued, False)
return await self._update(reports, issued, disable_port=False)


class NotamHandler(ListedReportHandler):
Expand Down

0 comments on commit 28199cb

Please sign in to comment.