summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/IRCInterface.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-04 20:09:55 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-04 20:09:55 +0200
commitcf6531b2c87fea99fd03884636bac4c80d1b475d (patch)
treec39125695c85662d2279af57082b36e1718d574a /module/plugins/hooks/IRCInterface.py
parentFixpack (2) (diff)
downloadpyload-cf6531b2c87fea99fd03884636bac4c80d1b475d.tar.xz
Fixpack (3)
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