mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-03 22:52:24 -05:00
Try to fix issue #258
SiCKRAGETV/sickrage-issues#258 related to: SiCKRAGETV/sickrage-issues#471
This commit is contained in:
parent
91cb8d885c
commit
b9cbc661d4
@ -934,8 +934,9 @@ class IOStream(BaseIOStream):
|
||||
return self.socket
|
||||
|
||||
def close_fd(self):
|
||||
self.socket.close()
|
||||
self.socket = None
|
||||
if self.socket is not None:
|
||||
self.socket.close()
|
||||
self.socket = None
|
||||
|
||||
def get_fd_error(self):
|
||||
errno = self.socket.getsockopt(socket.SOL_SOCKET,
|
||||
|
Loading…
Reference in New Issue
Block a user