diff --git a/src/tools/xml_tools.py b/src/tools/xml_tools.py index bcaf301e..d72644ef 100644 --- a/src/tools/xml_tools.py +++ b/src/tools/xml_tools.py @@ -1148,7 +1148,7 @@ class XMLUI(object): top_element.removeAttribute("submit") except NotFoundErr: pass - elif value: # submit_id can be the empty string to bypass form restriction + else: # submit_id can be the empty string to bypass form restriction top_element.setAttribute("submit", value) @property