Mercurial > libervia-backend
diff src/tmp/wokkel/pubsub.py @ 2217:893030a9d351
tmp(wokkel/pubsub): fixed configuration parsing
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 03 Apr 2017 00:13:33 +0200 |
parents | 582359de7268 |
children | 3399971f0aa0 |
line wrap: on
line diff
--- a/src/tmp/wokkel/pubsub.py Wed Mar 29 21:04:43 2017 +0200 +++ b/src/tmp/wokkel/pubsub.py Mon Apr 03 00:13:33 2017 +0200 @@ -470,7 +470,7 @@ Parse optional node configuration form in create request. """ for element in verbElement.parent.elements(): - if element.uri == NS_PUBSUB_OWNER and element.name == 'configure': + if element.uri in (NS_PUBSUB, NS_PUBSUB_OWNER) and element.name == 'configure': form = data_form.findForm(element, NS_PUBSUB_NODE_CONFIG) if form is not None: if form.formType != 'submit':