[Bugfix] 修复刷新硬件的bug

pull/828/head^2
ibuler 2018-01-02 14:29:37 +08:00
parent 539bf7bec8
commit 4dbf332a56
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -1 +1 @@
openssl brew install libtiff libjpeg webp little-cms2
brew install libtiff libjpeg webp little-cms2 openssl