Skip to content

Commit

Permalink
fix for issue #16
Browse files Browse the repository at this point in the history
  • Loading branch information
jlusiardi committed Apr 29, 2018
1 parent 9467aba commit bef34f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homekit/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def error_handler(error, stage):
raise homekit.exception.MaxPeersError(stage)
elif error == TLV.kTLVError_MaxTries:
raise homekit.exception.MaxTriesError(stage)
elif error == kTLVError_Unavailable:
elif error == TLV.kTLVError_Unavailable:
raise homekit.exception.UnavailableError(stage)
elif error == kTLVError_Busy:
elif error == TLV.kTLVError_Busy:
raise homekit.exception.BusyError(stage)
else:
raise homekit.exception.InvalidError(stage)
Expand Down

0 comments on commit bef34f2

Please sign in to comment.