From c27540eb87b77788f09a60cbe6698cfd86c4d862 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Mon, 20 Jul 2015 07:50:18 +0200 Subject: [PATCH] web: reduce timeout from 15 to 7 seconds --- nemubot/tools/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nemubot/tools/web.py b/nemubot/tools/web.py index 6d49f40..050d726 100644 --- a/nemubot/tools/web.py +++ b/nemubot/tools/web.py @@ -60,7 +60,7 @@ def getPassword(url): # Get real pages -def getURLContent(url, body=None, timeout=15): +def getURLContent(url, body=None, timeout=7): """Return page content corresponding to URL or None if any error occurs Arguments: