Skip to content

Commit

Permalink
Merge commit 'aeb0448'
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Jun 23, 2015
2 parents e994242 + aeb0448 commit 00eb752
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion stratumserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ def sendReply(self, ob):
return self.push(json.dumps(ob).encode('ascii') + b"\n")

def found_terminator(self):
inbuf = b"".join(self.incoming).decode('ascii')
try:
inbuf = b"".join(self.incoming).decode('ascii')
except:
self.boot()
return
self.incoming = []

if not inbuf:
Expand Down

0 comments on commit 00eb752

Please sign in to comment.