diff options
author | 2015-05-12 12:22:20 +0200 | |
---|---|---|
committer | 2015-05-12 12:22:20 +0200 | |
commit | 906bb7c1ecc5c34aa93148894eef763f27eba98e (patch) | |
tree | 2f09a639cdd9e414e8f165a667c71a837288d4de /pyload/plugin/hoster/Xdcc.py | |
parent | Revert damaged logo.png (diff) | |
download | pyload-906bb7c1ecc5c34aa93148894eef763f27eba98e.tar.xz |
Other import fixes
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 |