Changed URL timeout
This commit is contained in:
1 parent
b34ca532ef
commit
ef99764a5d
1 file changed
+1
-1
@@ -188,7 +188,7 @@ class IRCActions():
|
|||||||
reply = "URL: "
|
reply = "URL: "
|
||||||
url = urlmatch.group()
|
url = urlmatch.group()
|
||||||
try:
|
try:
|
||||||
i = urllib2.urlopen(url, timeout=1)
|
i = urllib2.urlopen(url, timeout=3)
|
||||||
except:
|
except:
|
||||||
self.bot.msgReply(nick, channel, reply + "Timeout")
|
self.bot.msgReply(nick, channel, reply + "Timeout")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in new issue
Block a user