From 906bb7c1ecc5c34aa93148894eef763f27eba98e Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 12 May 2015 12:22:20 +0200 Subject: Other import fixes --- pyload/plugin/addon/IRCInterface.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'pyload/plugin/addon/IRCInterface.py') diff --git a/pyload/plugin/addon/IRCInterface.py b/pyload/plugin/addon/IRCInterface.py index eb015c362..0c8f2ce8b 100644 --- a/pyload/plugin/addon/IRCInterface.py +++ b/pyload/plugin/addon/IRCInterface.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- import re +import select import socket import ssl import time @@ -9,8 +10,6 @@ import traceback import pycurl -from select import select - from pyload.Api import PackageDoesNotExists, FileDoesNotExists from pyload.network.RequestFactory import getURL from pyload.plugin.Addon import Addon @@ -112,7 +111,7 @@ class IRCInterface(Thread, Addon): readbuffer = "" while True: time.sleep(1) - fdset = select([self.sock], [], [], 0) + fdset = select.select([self.sock], [], [], 0) if self.sock not in fdset[0]: continue -- cgit v1.2.3