Permalink
Browse files

Merge branch 'master' of github.com:jedi95/Phoenix-Miner

  • Loading branch information...
jedi95 committed Nov 3, 2011
2 parents 9fb667c + 216323c commit e04cdb19305bb3cbbeb722c2677b59fd83c6b2cc
Showing with 2 additions and 1 deletion.
  1. +2 −1 minerutil/RPCProtocol.py
View
@@ -52,7 +52,8 @@ def doRequest(self, *args):
def closeConnection(self):
if self.connection is not None:
- self.connection.sock.shutdown(socket.SHUT_RDWR)
+ if self.connection.sock is not None:
+ self.connection.sock.shutdown(socket.SHUT_RDWR)
self.connection.close()
if self.__response is not None:
self.__response.close()

0 comments on commit e04cdb1

Please sign in to comment.