From ef99764a5dc5c1f459f21074cff4bed2c5fa5519 Mon Sep 17 00:00:00 2001 From: Paal Braathen Date: Wed, 13 Mar 2013 20:24:09 +0100 Subject: [PATCH] Changed URL timeout --- snurr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snurr.py b/snurr.py index ac66d48..bdd5127 100755 --- a/snurr.py +++ b/snurr.py @@ -188,7 +188,7 @@ class IRCActions(): reply = "URL: " url = urlmatch.group() try: - i = urllib2.urlopen(url, timeout=1) + i = urllib2.urlopen(url, timeout=3) except: self.bot.msgReply(nick, channel, reply + "Timeout") return