From 3e8d57afdbf73ba98d8b9463a3fcdf2e8024adb8 Mon Sep 17 00:00:00 2001 From: Marius Rieder Date: Fri, 5 Feb 2021 06:07:14 +0000 Subject: [PATCH] Fix indenting error --- package | 2 +- web/plugins/perfometer/winnfssrv.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package b/package index 71ca09b..3d74782 100644 --- a/package +++ b/package @@ -22,7 +22,7 @@ ]}, 'name': 'winnfs', 'title': u'Check for the Windows NFS Server', - 'version': '0.3', + 'version': '0.4', 'version.min_required': '1.6.0', 'version.packaged': '1.6.0p20', 'version.usable_until': '1.7.0' diff --git a/web/plugins/perfometer/winnfssrv.py b/web/plugins/perfometer/winnfssrv.py index 66df110..e68c68e 100644 --- a/web/plugins/perfometer/winnfssrv.py +++ b/web/plugins/perfometer/winnfssrv.py @@ -7,7 +7,8 @@ def perfometer_winnfssrv(row, check_command, perf_data): for i, color, base, scale, verbfunc in [ (0, "#00FFB2", 10000, 10, lambda v: ("Clients: %d") % v), (1, "#00FFFF", 10000, 10, lambda v: ("Sessions: %d") % v), - ]: val = float(perf_data[i][1]) + ]: + val = float(perf_data[i][1]) h += perfometer_logarithmic(val, base, scale, color) texts.append(verbfunc(val)) h += ''