B #5236: round apps size (#863)

This commit is contained in:
Alejandro Huertas Herrero authored and GitHub committed 2021-02-23 16:43:34 +01:00
1 parent b10d2cc986
commit 6c43f75bcb
1 file changed
+1 -1
+1 -1
View File
@@ -85,7 +85,7 @@ class OneMarket
file = app['files'][0]
size = 0
size = file['size'].to_i / (2**20) if file['size'].to_i != 0
size = (file['size'].to_f / (2**20)).ceil if file['size'].to_i != 0
print_var(tmpl, 'SIZE', size)
print_var(tmpl, 'MD5', file['md5'])