fix: Avoid possible whitespace bug
* Handles semgrep warning
* Changed "" to None as a precaution against future whitespace bugs via human error
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
(cherry picked from commit c84feb16e9)
This commit is contained in:
parent
1eb84ad5e5
commit
86d2989c52
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ class DocType(Document):
|
|||
}
|
||||
|
||||
for docfield in self.get("fields") or []:
|
||||
conflict_type = ""
|
||||
conflict_type = None
|
||||
field = docfield.fieldname
|
||||
field_label = docfield.label or docfield.fieldname
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue