mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-21 15:58:52 +00:00
[Bugfix] 修复刷新硬件的bug
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -1 +1 @@
|
||||
openssl brew install libtiff libjpeg webp little-cms2
|
||||
brew install libtiff libjpeg webp little-cms2 openssl
|
||||
|
Reference in New Issue
Block a user