Mercurial > libervia-backend
changeset 2405:f4b6176eb65f
core (xmlui): fixed data_form => XMLUI conversion when filters is None
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 31 Oct 2017 23:07:26 +0100 |
parents | f05c884cd3ef |
children | 1e5b2c35964e |
files | src/tools/xml_tools.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/tools/xml_tools.py Fri Oct 27 18:24:35 2017 +0200 +++ b/src/tools/xml_tools.py Tue Oct 31 23:07:26 2017 +0100 @@ -118,6 +118,8 @@ This is especially useful to modify well known fields @return: the completed XMLUI instance """ + if filters is None: + filters = {} if form.instructions: form_ui.addText('\n'.join(form.instructions), 'instructions')