Skip to content

Commit

Permalink
Aerotech connection checks network input
Browse files Browse the repository at this point in the history
  • Loading branch information
tfarago committed Nov 12, 2013
1 parent 00b90c1 commit 94ad0a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions concert/networking.py
Expand Up @@ -76,6 +76,8 @@ def __init__(self, host, port):

@classmethod
def _interpret_response(cls, hle_response):
if not hle_response:
raise NetworkError("Not enough data received")
if (hle_response[0] == Aerotech.ACK_CHAR):
# return the data
res = hle_response[1:]
Expand Down

0 comments on commit 94ad0a9

Please sign in to comment.