Changed URL timeout

This commit is contained in:
Paal Braathen committed 2013-03-13 20:24:09 +01:00
1 parent b34ca532ef
commit ef99764a5d
1 file changed
+1 -1
+1 -1
View File
@@ -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