Skip to content

Commit

Permalink
repair crash
Browse files Browse the repository at this point in the history
  • Loading branch information
gluap committed May 30, 2020
1 parent 133362a commit 4d784fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ be accessed via the EnerVu App.
Changelog
=========

**2020-05-30 0.1.6**
- repair crash introduced with 0.1.5

**2020-05-30 0.1.5**
- some extra logging, timeouts and exception handling. Might fix #7

Expand Down
2 changes: 1 addition & 1 deletion pyess/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

#__all__ = ['cli', 'ess']

__version__ ="0.1.5"
__version__ ="0.1.6"
4 changes: 2 additions & 2 deletions pyess/aio_ess.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def __init__(self, name, pw, ip=None):
self.ip = ip
self.logged_in = False
self.auth_key = None
self.session = aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False), read_timeout=60,
conn_timeout=60, timeout=120)
self.session = aiohttp.ClientSession(connector=aiohttp.TCPConnector(ssl=False),
timeout=aiohttp.ClientTimeout(connect=60,sock_read=60, sock_connect=60, total=180))

async def _login(self, retry=1):
"""
Expand Down

0 comments on commit 4d784fd

Please sign in to comment.