From 33f883e23ed7672c11e3d1f0a7aacde7e6633a4a Mon Sep 17 00:00:00 2001
From: James Browning <jamesb.fe80@gmail.com>
Date: Mon, 5 Oct 2020 14:17:00 -0700
Subject: [PATCH] ntpviz: Fix format string

'Experimental cleanups for lgtm. No logic changes'
broke this format string.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
---
 ntpclients/ntpviz.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntpclients/ntpviz.py b/ntpclients/ntpviz.py
index c30e35509..6a5a352bd 100644
--- a/ntpclients/ntpviz.py
+++ b/ntpclients/ntpviz.py
@@ -793,7 +793,7 @@ plot \\
             plot_template += """\
 '-' using 1:2 title '%s TDOP' with line ls 1, \\
 '-' using 1:3 title '%s nSat' with line ls 2 axis x1y2, \\
-""" % (key,)
+""" % (key, key)
 
         # strip the trailing ", \\n"
         plot_template = plot_template[:-4] + "\n"
-- 
2.29.2

