提交 4dbf332a 编写于 作者: baltery's avatar baltery

[Bugfix] 修复刷新硬件的bug

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册