Skip to content

Commit

Permalink
Fix creation of connection
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre0512 committed Oct 12, 2023
1 parent 09b5f11 commit 0f0c1bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="speedport-api",
version="0.5.1",
version="0.5.2",
author="Andre Basche",
description="Control Telekom Speedport routers with Python",
long_description=long_description,
Expand Down
2 changes: 1 addition & 1 deletion speedport/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async def __aexit__(self, exc_type, exc_val, exc_tb):
await self.close()

async def create(self):
self._api = await Connection(self._host, self._https, self._session).create()
self._api = await Connection(self._url, self._session).create()
return self

async def close(self):
Expand Down

0 comments on commit 0f0c1bf

Please sign in to comment.