diff sat/core/xmpp.py @ 3125:c3ce8c997fdf

plugin android: reconnect profiles with autoconnect if network is activated: if network is activated, we check that all profiles with autoconnect are indeed connected, and reconnect them if necesssary.
author Goffi <goffi@goffi.org>
date Sun, 26 Jan 2020 18:08:09 +0100
parents aa728dc7b0ce
children b9395c4df8b9
line wrap: on
line diff
--- a/sat/core/xmpp.py	Sat Jan 25 21:08:41 2020 +0100
+++ b/sat/core/xmpp.py	Sun Jan 26 18:08:09 2020 +0100
@@ -345,7 +345,7 @@
         except AttributeError:
             # connection has not been stopped by networkDisabled
             # we don't have to restart it
-            log.debug("no connection to restart")
+            log.debug(f"no connection to restart [{self.profile}]")
             return
         else:
             del self._network_disabled