mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Set size to -1 to me more explicit about the size not being available ?
This commit is contained in:
parent
7de5251af6
commit
0b70ee84dd
1 changed files with 1 additions and 1 deletions
|
@ -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"] = "?"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue