diff options
Diffstat (limited to 'pyload/plugin/hoster/Xdcc.py')
-rw-r--r-- | pyload/plugin/hoster/Xdcc.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugin/hoster/Xdcc.py b/pyload/plugin/hoster/Xdcc.py index d7593a936..85f416aba 100644 --- a/pyload/plugin/hoster/Xdcc.py +++ b/pyload/plugin/hoster/Xdcc.py @@ -1,13 +1,12 @@ # -*- coding: utf-8 -*- import re +import select import socket import struct import sys import time -from select import select - from pyload.plugin.Hoster import Hoster from pyload.utils import fs_join @@ -120,7 +119,7 @@ class Xdcc(Hoster): sock.close() self.fail(_("XDCC Bot did not answer")) - fdset = select([sock], [], [], 0) + fdset = select.select([sock], [], [], 0) if sock not in fdset[0]: continue |