From bbc54cfc2eb9c31ea96a0c2c485efffa35781ed9 Mon Sep 17 00:00:00 2001 From: Ruud Date: Mon, 30 Apr 2012 11:01:00 +0200 Subject: [PATCH] Don't wait to long on 404 error --- couchpotato/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/__init__.py b/couchpotato/__init__.py index 8482160e..57d7d333 100644 --- a/couchpotato/__init__.py +++ b/couchpotato/__init__.py @@ -78,6 +78,6 @@ def page_not_found(error): if url[:3] != 'api': return redirect(index_url + '#' + url) else: - time.sleep(2) + time.sleep(0.1) return 'Wrong API key used', 404