summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/IRCInterface.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/IRCInterface.py')
-rw-r--r--module/plugins/hooks/IRCInterface.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py
index c84c0439d..6135b3244 100644
--- a/module/plugins/hooks/IRCInterface.py
+++ b/module/plugins/hooks/IRCInterface.py
@@ -2,12 +2,12 @@
import pycurl
import re
+import select
import socket
import ssl
import time
import traceback
-from select import select
from threading import Thread
from module.Api import PackageDoesNotExists, FileDoesNotExists
@@ -114,7 +114,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