changeset 3139:ca61807f724c

plugin XEP-0198: minor log formatting
author Goffi <goffi@goffi.org>
date Wed, 29 Jan 2020 11:19:47 +0100
parents d8a89a77d765
children 46a6251713d3
files sat/plugins/plugin_xep_0198.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0198.py	Wed Jan 29 11:00:14 2020 +0100
+++ b/sat/plugins/plugin_xep_0198.py	Wed Jan 29 11:19:47 2020 +0100
@@ -363,7 +363,7 @@
             log.info(_("Stream Management enabled"))
         else:
             log.info(_(
-                "Stream Management enabled, with a resumption time of {res_m} min"
+                "Stream Management enabled, with a resumption time of {res_m:.2f} min"
                 .format(res_m = max_s/60)))
         session.session_max = max_s