From fede598cb8dbd838180052eca82b21c6ed98fab5 Mon Sep 17 00:00:00 2001 From: Tim Bond Date: Mon, 7 Feb 2022 19:00:13 -0800 Subject: [PATCH] Update apt_ubuntu to display integers instead of floats --- plugins/ubuntu/apt_ubuntu | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/ubuntu/apt_ubuntu b/plugins/ubuntu/apt_ubuntu index a6db8368..2deddf1d 100755 --- a/plugins/ubuntu/apt_ubuntu +++ b/plugins/ubuntu/apt_ubuntu @@ -77,6 +77,7 @@ def config(): print('graph_category security') print('graph_title %s' % (title)) print('graph_vlabel %s' % (vlabel)) + print('graph_printf %.0lf') for i, archive in enumerate(archives + [other]): if len(colour) > i: print('%s.colour %s' % (archive, colour[i]))