Commit 4dbf332a authored by ibuler's avatar ibuler

[Bugfix] 修复刷新硬件的bug

parent 539bf7be
......@@ -327,6 +327,10 @@ def capacity_convert(size, expect='auto', rate=1000):
if rate > std_size/rate_ > 1:
expect = unit
break
if expect not in rate_mapping:
expect = 'K'
expect_size = std_size / rate_mapping[expect]
return expect_size, expect
......
openssl brew install libtiff libjpeg webp little-cms2
brew install libtiff libjpeg webp little-cms2 openssl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment