Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius2342 committed Jul 13, 2019
1 parent 5e77d34 commit fe0f414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xknx/knxip/connect_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ def __init__(self, xknx):
def calculated_length(self):
"""Get length of KNX/IP body."""
if self.status_code == ErrorCode.E_NO_ERROR:
return 2 + HPAI.LENGTH + \
ConnectResponse.CRD_LENGTH
return 2 + HPAI.LENGTH + \
ConnectResponse.CRD_LENGTH
return 2

def from_knx(self, raw):
Expand Down

0 comments on commit fe0f414

Please sign in to comment.