From e6fa0b98e9cba8d9b6e7d86d2af043dda6ce3a4c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Wed, 31 May 2017 12:14:44 +0200
Subject: [PATCH] fix typo, refs #21661

---
 tests/test_monitoring.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_monitoring.py b/tests/test_monitoring.py
index 637a5e1c..999d787f 100755
--- a/tests/test_monitoring.py
+++ b/tests/test_monitoring.py
@@ -45,7 +45,7 @@ def check_munin():
     mtime = os.path.getmtime(MUNIN_CHECK_PATH)
     d = datetime.fromtimestamp(mtime)
     now = datetime.now()
-    diff_seconds = (now - d).total_seconds
+    diff_seconds = (now - d).total_seconds()
     if diff_seconds > 3600:
         print_red('Monitoring data is older than 1 hour and is probably not working.')
         return 1
-- 
GitLab