bugfix
This commit is contained in:
parent
f0eebd7c8a
commit
bc62352d96
@ -184,7 +184,8 @@ def get_code_desc(field: dict, desc: dict) -> dict:
|
||||
def setup_ui_info(field:dict, confidential_fields=[]) ->dict:
|
||||
d = DictObject(**field.copy())
|
||||
if d.length:
|
||||
d.cwidth = d.length if d.length < 18 else 18
|
||||
length = int(d.length)
|
||||
d.cwidth = length if length < 18 else 18
|
||||
if d.cwidth < 4:
|
||||
d.cwidth = 4;
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user