From 1b506a64241169a3ab552546ba3babbd160fc8e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 1 Jun 2017 11:43:15 +0200 Subject: [PATCH] round up backup age --- tests/test_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_backup.py b/tests/test_backup.py index 7f48dd72..3fad523c 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -78,7 +78,7 @@ def check_local_backup(path): now = datetime.now() diff_seconds = (now - d).total_seconds() if diff_seconds > 48*3600: - print('Backup %s is older than 48h (%sh)' % (backup_folder, diff_seconds/3600)) + print('Backup %s is older than 48h (%ih)' % (backup_folder, diff_seconds/3600)) all_ok = False else: print('Backup %s is fine' % backup_folder) -- GitLab