From 0b70ee84dd684f45442eac50bf96c78464043eb9 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 22 Apr 2019 15:41:27 +0200 Subject: [PATCH] Set size to -1 to me more explicit about the size not being available ? --- src/yunohost/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/backup.py b/src/yunohost/backup.py index 8c7d53b1c..5db17a047 100644 --- a/src/yunohost/backup.py +++ b/src/yunohost/backup.py @@ -2279,7 +2279,7 @@ def backup_info(name, with_details=False, human_readable=False): if human_readable: key_info["size"] = binary_to_human(key_info["size"]) + 'B' else: - key_info["size"] = 0 + key_info["size"] = -1 if human_readable: key_info["size"] = "?"