Skip to content

Commit

Permalink
Update readme (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniu authored Feb 18, 2023
1 parent e1be9f3 commit 5b31563
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Python wrapper for getting air quality data from [GIOŚ (Główny Inspektorat Oc

## How to use package
```python
"""Example for GIOS"""
"""Example for GIOS."""
import asyncio
import logging

Expand All @@ -29,13 +29,13 @@ logging.basicConfig(level=logging.DEBUG)


async def main() -> None:
"""Main function."""
"""Run main function."""
async with ClientSession() as websession:
gios = Gios(GIOS_STATION_ID, websession)
try:
data = await gios.async_update()
except (ApiError, NoStationError, InvalidSensorsData, ClientError) as error:
print(f"{error}")
print(error)
return

latitude = gios.latitude
Expand Down

0 comments on commit 5b31563

Please sign in to comment.