From c397afab4ae7e2e3546f4f746a713d0f8b20cc62 Mon Sep 17 00:00:00 2001 From: kakwa Date: Tue, 20 Oct 2015 22:42:10 +0200 Subject: [PATCH] fix service unavailable template --- ldapcherry/exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldapcherry/exceptions.py b/ldapcherry/exceptions.py index 6406d63..ed01733 100644 --- a/ldapcherry/exceptions.py +++ b/ldapcherry/exceptions.py @@ -230,7 +230,7 @@ def exception_decorator(func): self._handle_exception(e) username = self._check_session() if not username: - return self.temp_service_unavailable.render() + return self.temp['service_unavailable.tmpl'].render() is_admin = self._check_admin() et = type(e) if et is UserDoesntExist: