summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/IRCInterface.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 12:22:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 12:22:20 +0200
commit906bb7c1ecc5c34aa93148894eef763f27eba98e (patch)
tree2f09a639cdd9e414e8f165a667c71a837288d4de /pyload/plugin/addon/IRCInterface.py
parentRevert damaged logo.png (diff)
downloadpyload-906bb7c1ecc5c34aa93148894eef763f27eba98e.tar.xz
Other import fixes
Diffstat (limited to 'pyload/plugin/addon/IRCInterface.py')
-rw-r--r--pyload/plugin/addon/IRCInterface.py5
1 files changed, 2 insertions, 3 deletions
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