Fix debug output line in dial.py
authorChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 31 Jan 2019 15:06:49 +0000 (16:06 +0100)
committerChristian Herdtweck <christian.herdtweck@intra2net.com>
Thu, 7 Feb 2019 15:10:53 +0000 (16:10 +0100)
src/dial.py

index 3b60410..e34921a 100644 (file)
@@ -163,7 +163,7 @@ def arnied_dial_permanent(prid="P1", block=False):
     :returns:       Whether the ``tell-connd`` command succeeded.
     :rtype:         int (dial result as above)
     """
-    log.debug("requested connd_dial_online%s (blocking)" if block else "")
+    log.debug("requested connd_dial_online%s" % " (blocking)" if block else "")
 
     cnf = simple_cnf.SimpleCnf()
     cnf.add("DIALOUT_MODE", DIALOUT_MODE_CNF[DIALOUT_MODE_PERMANENT])