Mercurial > libervia-web
changeset 1383:81b472bcf0a1
server: be sure to have strings for ns_map
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 20 Feb 2021 13:55:00 +0100 |
parents | 21d30f5d582a |
children | b61509c47cac |
files | libervia/server/server.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/server/server.py Sat Feb 20 13:54:13 2021 +0100 +++ b/libervia/server/server.py Sat Feb 20 13:55:00 2021 +0100 @@ -891,7 +891,7 @@ return value def _namespacesGetCb(self, ns_map): - self.ns_map = ns_map + self.ns_map = {str(k): str(v) for k,v in ns_map.items()} def _namespacesGetEb(self, failure_): log.error(_("Can't get namespaces map: {msg}").format(msg=failure_))