Skip to content

Commit

Permalink
B #5236: round apps size (#863)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Huertas Herrero authored Feb 23, 2021
1 parent b10d2cc commit 6c43f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/market_mad/remotes/one/monitor
Original file line number Diff line number Diff line change
Expand Up @@ -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'])
Expand Down

0 comments on commit 6c43f75

Please sign in to comment.