From a0972fe1fba507a1e6d17fb18846fb7a13c8cbbe Mon Sep 17 00:00:00 2001 From: Ludovic Ferrandis Date: Wed, 19 Sep 2012 13:57:44 +0200 Subject: [FIX] Increment timeout when getting images Signed-off-by: Ludovic Ferrandis --- src/msd/msd_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msd/msd_utils.py b/src/msd/msd_utils.py index 4a9b703..cc21bfa 100644 --- a/src/msd/msd_utils.py +++ b/src/msd/msd_utils.py @@ -31,7 +31,7 @@ def image_from_file(url): image = None try: with tmpfile: - message = urllib2.urlopen(url, None, 1) + message = urllib2.urlopen(url, None, 15) tmpfile.write(message.read()) image = gtk.Image() image.set_from_file(tmpfile.name) -- cgit v1.2.1