Added longer timeout for slower hardware

This commit is contained in:
Ruud
2012-06-25 22:23:08 +02:00
parent 2d05aafc04
commit f1942377b5
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ class Plugin(object):
return False
# http request
def urlopen(self, url, timeout = 10, params = {}, headers = {}, multipart = False, show_error = True):
def urlopen(self, url, timeout = 30, params = {}, headers = {}, multipart = False, show_error = True):
# Fill in some headers
if not headers.get('Referer'):