From d214800cda6bb52c2dc4b268844aefede4a559ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 31 Aug 2016 22:58:05 +0200 Subject: [PATCH] Show up login dialog on 404 error when login Only 404 needs to go back to login dialog. issue5837 review21231003 --- tryton/gui/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tryton/gui/main.py b/tryton/gui/main.py index 7cd3d0ef58..335859654d 100644 --- a/tryton/gui/main.py +++ b/tryton/gui/main.py @@ -841,7 +841,7 @@ class Main(object): and exception.faultCode == 'QueryCanceled'): return if (isinstance(exception, TrytonServerError) - and exception.faultCode.startswith('403')): + and exception.faultCode.startswith('404')): return self.sig_login() common.process_exception(exception) return