diff options
Diffstat (limited to 'pyload/network/XDCCRequest.py')
-rw-r--r-- | pyload/network/XDCCRequest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/network/XDCCRequest.py b/pyload/network/XDCCRequest.py index 0d8e90db9..470ab96a7 100644 --- a/pyload/network/XDCCRequest.py +++ b/pyload/network/XDCCRequest.py @@ -2,12 +2,11 @@ # @author: jeix import os +import select import socket import struct import time -from select import select - from pyload.plugin.Plugin import Abort @@ -110,7 +109,7 @@ class XDCCRequest(object): def _keepAlive(self, sock, *readbuffer): - fdset = select([sock], [], [], 0) + fdset = select.select([sock], [], [], 0) if sock not in fdset[0]: return |