diff src/core/sat_main.py @ 1043:066308706dc6

core, stdui (profile manager), quick_app: ask for another XMPP password when profile authentication succeed but XMPP connection fails
author souliane <souliane@mailoo.org>
date Wed, 21 May 2014 23:15:01 +0200
parents 6e975c6b0faf
children e88bff4c8b77
line wrap: on
line diff
--- a/src/core/sat_main.py	Wed May 21 21:14:40 2014 +0200
+++ b/src/core/sat_main.py	Wed May 21 23:15:01 2014 +0200
@@ -238,6 +238,7 @@
             d.addCallback(connectXMPPClient)
             return d
 
+        self._initialised.addErrback(lambda dummy: None)  # allow successive attempts
         return self._initialised.addCallback(backendInitialised)
 
     @defer.inlineCallbacks