Skip to content

Commit

Permalink
Do not handle empty line as error from server
Browse files Browse the repository at this point in the history
  • Loading branch information
ha5di committed Sep 18, 2014
1 parent f3c0259 commit 97b32a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dixpigate.py
Expand Up @@ -98,10 +98,8 @@ def engine(self):
try:
r = self.sockt.recv(1000)

# Check for error
# Check for empty line
if len(r) == 0:
self.phase = 10
print "PHASE ERROR 1"
return


Expand Down

0 comments on commit 97b32a4

Please sign in to comment.