mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 06:46:24 +00:00
fix: Operator write failed (#13677)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
@@ -120,6 +120,8 @@ class OperatorLogHandler(metaclass=Singleton):
|
|||||||
encrypt_value = '******'
|
encrypt_value = '******'
|
||||||
new_data = {}
|
new_data = {}
|
||||||
for label, item in dict_item.items():
|
for label, item in dict_item.items():
|
||||||
|
if not isinstance(item, (dict,)):
|
||||||
|
continue
|
||||||
value = item.get('value', '')
|
value = item.get('value', '')
|
||||||
field_name = item.get('name', '')
|
field_name = item.get('name', '')
|
||||||
if isinstance(value, bool):
|
if isinstance(value, bool):
|
||||||
|
Reference in New Issue
Block a user