From 3a8eb7fdbdf12e4f5f0c60be6e5f72d177b37ae7 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 16 Jun 2012 18:51:14 +0200 Subject: [PATCH] Increase timeout for sending larger files to sab. fix #448 --- couchpotato/core/downloaders/sabnzbd/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/downloaders/sabnzbd/main.py b/couchpotato/core/downloaders/sabnzbd/main.py index 09325704..e05a41c6 100644 --- a/couchpotato/core/downloaders/sabnzbd/main.py +++ b/couchpotato/core/downloaders/sabnzbd/main.py @@ -39,7 +39,7 @@ class Sabnzbd(Downloader): try: if params.get('mode') is 'addfile': - data = self.urlopen(url, params = {"nzbfile": (nzb_filename, filedata)}, multipart = True, show_error = False) + data = self.urlopen(url, timeout = 60, params = {"nzbfile": (nzb_filename, filedata)}, multipart = True, show_error = False) else: data = self.urlopen(url, show_error = False) except: