Skip to content

Commit 7d76b3c

Browse files
committed
Fix example
1 parent 54947bb commit 7d76b3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

example.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212

1313
async def main():
14-
with aiohttp.ClientSession() as session:
14+
"""Sample code to retrieve the data."""
15+
async with aiohttp.ClientSession() as session:
1516
data = Luftdaten(155, loop, session)
1617
await data.async_get_data()
1718

0 commit comments

Comments
 (0)