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